This pull request supersedes #122. I had to make some executive decisions and compromises, but I hope I've come up with something that addresses most people's concerns.
Firstly, left player directional input has been moved to W and S, with E serving as an alternate up button (note that all our keybindings are probably nonsense on DVORAK or AZERTY keyboards - I've got some fixes for that, but I'll bring those in later) that is comfortable when using a keyboard at an extreme angle.
Secondly, keyboard controls use one key for the pull/hit and both flippers. With flippers being so small a part of the game right now, the benefit of a simple control scheme outweighs the fun of controlling flippers separately IMO.
Thirdly, Ctrl and Shift have been selected to give both left and right players symmetrical bindings (having left players use space and right players use enter means changing hand layouts when changing sides and that feels worth avoiding right now).
Finally, there were several bugs in the gamepad bindings (buttons configured as axes, bumper button indexes being off, etc.). The changes here address those and are not related to platform specific gamepad concerns (haven't tested Mac bindings, but Linux stuff seems OK on my Logitech F310).
This pull request supersedes #122. I had to make some executive decisions and compromises, but I hope I've come up with something that addresses most people's concerns.
Firstly, left player directional input has been moved to W and S, with E serving as an alternate up button (note that all our keybindings are probably nonsense on DVORAK or AZERTY keyboards - I've got some fixes for that, but I'll bring those in later) that is comfortable when using a keyboard at an extreme angle.
Secondly, keyboard controls use one key for the pull/hit and both flippers. With flippers being so small a part of the game right now, the benefit of a simple control scheme outweighs the fun of controlling flippers separately IMO.
Thirdly, Ctrl and Shift have been selected to give both left and right players symmetrical bindings (having left players use space and right players use enter means changing hand layouts when changing sides and that feels worth avoiding right now).
Finally, there were several bugs in the gamepad bindings (buttons configured as axes, bumper button indexes being off, etc.). The changes here address those and are not related to platform specific gamepad concerns (haven't tested Mac bindings, but Linux stuff seems OK on my Logitech F310).
Below is a summary of current controls:
Right player (player 2):
Keyboard
Joystick 2 (360 controller)
Left player (player 1):
Keyboard
Joystick 1 (360 controller)