Layout ApplyButtons to more closely resemble the XInput code.