Closed alex-spataru closed 8 years ago
+1 :+1: We also have this issue, and it has definitely been something that would be more helpful. As it is right now, one of our linux drivers is thinking about making a change in our robot code to accommodate this... I'd rather not have to do that.
Thanks! I will begin working on this issue in the next couple of days.
I will begin testing QGamepad, this can hopefully provide a good solution to the joystick mappings and help us remove the SDL dependency.
Closing this issue to avoid duplication with issue #40.
While implementing and testing the protocol, an theoretical problem has arisen: SDL generates different joystick mappings than the ones used by the official FRC Driver Station (which are provided with Xinput). As a side note, the generated mappings can change depending on your platform and OS/driver version.
This can pose a serious security threat for teams that do not compare the joystick input between the QDriverStation and the FRC Driver Station, because the program could cause unexpected and 'involuntary' robot movement. We could ignore this 'issue', but I would prefer to solve it....breaking a window with a robot is not a nice experience...
Some solutions that came to my mind are:
Any ideas?