Commit graph

13 commits

Author SHA1 Message Date
Stephen Gutekanst
20ce5c841b glfw: rename Joystick.isPresent -> Joystick.present to match GLFW
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
e35c22f5e7 glfw: add Joystick.getButtons
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
269b4cacc8 glfw: add Joystick.getAxes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
b040116b4c glfw: add Joystick.isPresent
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
8a72ea7fc3 glfw: add Joystick.setCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
fb98715d9e glfw: add Joystick.setUserPointer, Joystick.getUserPointer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
23f0eaa1df glfw: add Joystick.isGamepad
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
425b11712b glfw: add glfw.updateGamepadMappings
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
2cea4c34b9 glfw: add Joystick.getGamepadName
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
06fefd4026 glfw: rename joystick -> Joystick; add Joystick.getGamepadState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-22 00:35:34 -07:00
Stephen Gutekanst
40e1520372 glfw: correct import references
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-17 20:19:46 -07:00
Stephen Gutekanst
b76e8d02f2 glfw: deduplicate @cImport for type equivalence
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-17 20:14:09 -07:00
Stephen Gutekanst
fcc289a0eb glfw: add joystick IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 12:24:08 -07:00