change PSMove mouse button bindings #15860
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current PSMove bindings activate the Select button whenever Mouse1+Mouse2 are pressed at once. This is problematic if Select brings up a menu or something (which is pretty likely), since this button combo gets pressed a lot, usually not on purpose.
For one example, see Child of Eden, where Select brings up the calibration screen and Trigger/Move shoot different projectiles. It's unplayable with the current bindings, since Mouse1 and Mouse2 are constantly getting pressed at the same time during gameplay.
In this PR, the middle mouse button now serves as a modifier (a "shift key"). It doesn't send any button-press on its own -- it just changes what the rest of the buttons do. This is much less prone to accidental combos.
Mapping with Mouse3 not pressed:
Mapping with Mouse3 pressed:
I also added a "Mouse9" key for consistency -- it's required now that Mouse3 doesn't bind to any buttons.
I can't be sure if this layout is ideal for every PSMove game, but until proper PSMove keybinding is implemented, this seems like a better default setup.