FRC-Utilities / QDriverStation

Cross-platform clone of the FRC Driver Station
https://frc-utilities.github.io
MIT License
189 stars 26 forks source link

[Linux] SDL detects external mouse as joystick #13

Closed alex-spataru closed 8 years ago

alex-spataru commented 8 years ago

While testing the QDriverStation on Linux (Ubuntu 14.04), I encountered a rather strange issue: SDL detects my external mouse as a joystick. Luckily, mouse movements did not affect at all the axes/buttons displayed in the Joysticks tab.

My idea to solve this issue is to create an option to 'blacklist' certain devices (using their UUID) and possibly, be able to upload the blacklist online, so that other QDriverStation installations use the online list as a reference.

Has anyone else encountered this issue? If so, what are your proposed solutions?

BearzRobotics commented 8 years ago

This is odd. I'v never encountered this before.

alex-spataru commented 8 years ago

Attaching screenshot for further reference. mousebug

alex-spataru commented 8 years ago

I've added an option to blacklist/whitelist the selected joystick in the latest commit. Its the best solution that I can come up with for the moment.