Nuklear icon indicating copy to clipboard operation
Nuklear copied to clipboard

Joystick support

Open paulocoutinhox opened this issue 4 years ago • 3 comments

Hi,

It has joystick support?

Thanks.

paulocoutinhox avatar May 30 '21 09:05 paulocoutinhox

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!

crazyBaboon avatar May 30 '21 10:05 crazyBaboon

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.

chriku avatar Dec 28 '21 08:12 chriku

Been working on a joypad-enabled interface for Nuklear over at https://github.com/RobLoach/nuklear_console .

RobLoach avatar Apr 04 '24 17:04 RobLoach