GamePad inputs #621
Replies: 6 comments
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2018-11-13 15:42:06
User: Jikai [] (age: 1449 days 🔥; posts: 13)
Hi all,
I'm just trying to figure out inputs for gamepad, is it like this?
Input.getGamepad().onPressed(Gamepad.Buttons.A, (key) -> System.out.println(key));
Input.getGamepad().onPoll(Gamepad.Axis.X, (axis) -> System.out.println(axis));
I don't have my gamepad here to test it. So all buttons and axis return float?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions