ZXDunny
Deep avatar
- Joined
- Oct 12, 2010
- Messages
- 2,585
I've tested this with the old SDL and with Notaz's new SDL.
If only one nub is set as a joystick, it appears as joystick 1 regardless of which nub it is. This confused me for a while
If you change nub mode from say, mouse to absolute while your SDL program is running, it cannot pick up the new joystick. Even closing the joystick subsystem and re-initialising fails. If the nub is set to absolute before the program is run, then changed to absolute (by a /proc/ write) - ie, no change in function - then re-initialising works. re-initialising fails only if the nub was not configured as absolute prior to the app starting.
Edit: If you change from absolute to mouse, and then back again while the app is running, then the joystick is lost.
Anyone any ideas about how these issues can be solved?
D.
If only one nub is set as a joystick, it appears as joystick 1 regardless of which nub it is. This confused me for a while
If you change nub mode from say, mouse to absolute while your SDL program is running, it cannot pick up the new joystick. Even closing the joystick subsystem and re-initialising fails. If the nub is set to absolute before the program is run, then changed to absolute (by a /proc/ write) - ie, no change in function - then re-initialising works. re-initialising fails only if the nub was not configured as absolute prior to the app starting.
Edit: If you change from absolute to mouse, and then back again while the app is running, then the joystick is lost.
Anyone any ideas about how these issues can be solved?
D.
Last edited by a moderator: