Skip to content

Commit

Permalink
Remove DPAD buttons from input keys. They are sent twice on standard …
Browse files Browse the repository at this point in the history
…gamepads.
  • Loading branch information
Swordfish90 committed Mar 21, 2022
1 parent 7bde9b4 commit bd8964a
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ object InputClassGamePad : InputClass {
)

private val INPUT_KEYS = listOf(
KeyEvent.KEYCODE_DPAD_UP,
KeyEvent.KEYCODE_DPAD_DOWN,
KeyEvent.KEYCODE_DPAD_RIGHT,
KeyEvent.KEYCODE_DPAD_LEFT,
KeyEvent.KEYCODE_DPAD_UP_LEFT,
KeyEvent.KEYCODE_DPAD_UP_RIGHT,
KeyEvent.KEYCODE_DPAD_DOWN_LEFT,
KeyEvent.KEYCODE_DPAD_DOWN_RIGHT,
KeyEvent.KEYCODE_BUTTON_A,
KeyEvent.KEYCODE_BUTTON_B,
KeyEvent.KEYCODE_BUTTON_X,
Expand Down

0 comments on commit bd8964a

Please sign in to comment.