-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x11: make dependancy on libudev optional #3708
Conversation
Looks good. Do you know how many times the function process_joysticks has On 14 February 2016 at 10:27, Hondres [email protected] wrote:
|
x11: make dependancy on libudev optional
(in any case, I'm merging this one, that stuff is just thoughts.. this is On 14 February 2016 at 13:48, Ariel Manzur [email protected] wrote:
|
Ok, I just tested that by adding a print statement when it skips the frame and letting it run for ~15 minutes. It has been printed twice ^^ What I'm wondering about is if there's gonna be a case where the device is something else than |
I don't know.. maybe udev uses some standard way to find out? (does sdl use On 14 February 2016 at 14:26, Hondres [email protected] wrote:
|
I think when you made:
You forced joystick on linux. |
Yes, is that a problem? There are no more dependancies |
fixes #3702
Udev monitoring can be optionally enabled by compiling with
udev=yes
, removes thegamepad
flag.Else, we loop through
/dev/input/event0
toevent31
once per second to discover new devices.Disconnection should be instant.
ping @punto-