Feature request: get raw button IDs from lime.ui.Gamepad

lime.ui.Gamepad does some magic behind the scenes to try to detect your gamepad type and automatically map buttons to a standard set of IDs. This is convenient, but sometimes it’s desirable to get at the original button IDs from the device. (It would also be nice if we could toggle this mapping behavior.)

Any chance these could be exposed in Lime?

You should get lime.ui.Joystick events for gamepads as well, which emit the raw IDs we receive from the backend. Does this work for you?

Looks like it would, I’ll look into that. Thanks!

1 Like