Nuklear
Nuklear copied to clipboard
Joystick support
Hi,
It has joystick support?
Thanks.
Hi,
It should have joystick support, although depending on you backend (GLFW, SDL...), the implementation might be slightly different.
For the GLFW backend, you can check https://www.glfw.org/docs/3.3/input_guide.html#joystick.
Please close the request if your question was answered!
I have not found anything useful concerning gamepad/joystick/keyboard navigation through the UI Elements. IIRC the only info I found was in the old repo (https://github.com/vurtun/nuklear/issues/50#issuecomment-184246258), but this could be outdated. Since then all issues I found where closed for "unrelated reasons" (https://github.com/Immediate-Mode-UI/Nuklear/issues/272), have been suddenly closed as duplicate of this issue (https://github.com/Immediate-Mode-UI/Nuklear/issues/350, https://github.com/Immediate-Mode-UI/Nuklear/issues/289) or are still open and dead (https://github.com/vurtun/nuklear/issues/349#issuecomment-436127353).
Of course I hope that someone can prove me wrong, but it seems that there will be no gamepad (joystick?) navigation in this library
EDIT: Found https://github.com/Immediate-Mode-UI/Nuklear/issues/192, so it should be possible but I don't know how.
Been working on a joypad-enabled interface for Nuklear over at https://github.com/RobLoach/nuklear_console .