Saitek X52-Pro, increasingly popular, has upwards of 35 buttons. flightgear/src/Input/Joysticks/FGJoystick.hxx places an upper limit of 32 on button count. Could this be extended, maybe to 48, please ? Tks
Unfortunatley I believe this is an intrinsic limit of the PLIB JS code, otherwise we would already have increased it. The event-input code on Mac and Linux should be able to address an arbitrary number of buttons, but we don't have a Windows implement of Event-input.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm also interested in having more than 32 buttons available in flightgear for a cockpit project I'm developing.
PLIB seems abandoned, maybe you could take over the sources?
As for the specific issue, it seems that all that's needed is to modify a #define in js.h https://sourceforge.net/p/plib/code/HEAD/tree/trunk/src/js/js.h#l35
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunatley I believe this is an intrinsic limit of the PLIB JS code, otherwise we would already have increased it. The event-input code on Mac and Linux should be able to address an arbitrary number of buttons, but we don't have a Windows implement of Event-input.
OK, thanks for the explanation.
Hi,
I'm also interested in having more than 32 buttons available in flightgear for a cockpit project I'm developing.
PLIB seems abandoned, maybe you could take over the sources?
As for the specific issue, it seems that all that's needed is to modify a #define in js.h
https://sourceforge.net/p/plib/code/HEAD/tree/trunk/src/js/js.h#l35
xDraconian: James' response was good enough for me to consider ticket closed, Tks
Thanks Huntley