karlelch
 Senior Member
 Joined: 30/10/2014 Location: GermanyPosts: 216 |
Posted: 11:17pm 02 Feb 2025 |
|
|
|
Hi both
I was the one requesting support for other gamepads and who was suggesting code. The whole gamepad business is frustrating; every vender seem to have their own codes and a somewhat different way of reporting the data. My „Xbox“ gamepad in addition can emulate different modes, partially depending on what the host responds when it is plugged in …….
I am not sure there is a sensible way of capturing these mappings in a big table - like in SDL. But maybe there is a way in between, leaving it to the user to figure the data out: there could be a callback that provides the report size and data of an event and leaves it to the programmer to parse the data and assign it to an output array that is standardised and the used by MMBasic to report gamepad events by the standard functions.
Best Thomas |