all-is-cubes icon indicating copy to clipboard operation
all-is-cubes copied to clipboard

Gamepad support

Open kpreid opened this issue 2 years ago • 2 comments

Enable playing All is Cubes on systems that have a gamepad or other non-keyboard input device.

This will likely involve, or at least benefit from, implementing customizable ~~key~~bindings (and user preferences support to store them). It will also require finding a library to receive such input events (winit does not yet), except on web where we do all our own input anyway.

It will also require focus/cursor for navigating menus.

kpreid avatar Oct 17 '22 04:10 kpreid

gilrs seems to be well regarded. There are also some binding management libraries that use it, which I should review for suitability to solve even more problems.

kpreid avatar Jan 22 '23 17:01 kpreid

Commit 59465f16a91d5ece08ef7cb5698519157a8976b4 adds a very minimal amount of gilrs glue. We definitely need more general binding management to be able to do much with this, as well as teaching InputProcessor about analog axis inputs.

kpreid avatar Apr 02 '24 23:04 kpreid