JoyStick library
Posted: Thu Jan 23, 2014 12:02 pm
There should be a way to ask the library for the total number of buttons and pads (if not axis) available on the specified joystick. This should be a minimum prerequisite for any joystick library.
The pad concept could also be removed.
We could simply have a command returning the total number of button and axis, and then access them through their index number without juggling pad numbers.
But at least the first point is really needed, to avoid polling a random number of things to see is something is there, to appropriately show an interface for mapping, etc.
The pad concept could also be removed.
We could simply have a command returning the total number of button and axis, and then access them through their index number without juggling pad numbers.
But at least the first point is really needed, to avoid polling a random number of things to see is something is there, to appropriately show an interface for mapping, etc.