Ryujinx-SDL/src/joystick
Cameron Gutman 55eb76218d Use stat() to minimize input device opens when not using udev
Calling open() on input devices can generate device I/O which blocks
the main thread and causes dropped frames. Using stat() we can avoid
opening anything unless /dev/input has changed since we last polled.

We could have used something fancy like inotify, but it didn't seem
worth the added complexity for this uncommon non-udev case.
2019-11-20 20:27:45 -08:00
..
android Added support for the Power A Nintendo Switch Enhanced Wireless Controller 2019-10-22 10:57:07 -07:00
bsd Fixed bug 4436 - [OpenBSD] fix D-pad 2019-06-30 22:48:13 -07:00
darwin Added support for the Power A Nintendo Switch Enhanced Wireless Controller 2019-10-22 10:57:07 -07:00
dummy Updated copyright for 2019 2019-01-04 22:01:14 -08:00
emscripten Emscripten: call emscripten_sample_gamepad_data 2019-01-29 12:19:00 +00:00
haiku Updated copyright for 2019 2019-01-04 22:01:14 -08:00
hidapi Fixed trying to use the HIDAPI driver for the original Xbox One S Bluetooth controller 2019-11-28 11:44:17 -08:00
iphoneos ios: Fixed MFi guide button not being detected (thanks, Caleb!). 2019-07-12 21:28:43 -04:00
linux Use stat() to minimize input device opens when not using udev 2019-11-20 20:27:45 -08:00
psp Updated copyright for 2019 2019-01-04 22:01:14 -08:00
steam Updated copyright for 2019 2019-01-04 22:01:14 -08:00
windows Use SDL_zeroa() appropriately 2019-11-22 16:23:37 -08:00
controller_type.h Check for duplicates in the supported controller list 2019-11-27 15:27:21 -08:00
SDL_gamecontroller.c Fixed build 2019-11-22 14:09:24 -08:00
SDL_gamecontrollerdb.h Updated DPAD binding for 8Bitdo Zero controller 2019-11-28 14:23:24 -08:00
SDL_joystick_c.h Fixed build 2019-11-22 14:09:24 -08:00
SDL_joystick.c Fixed mapping controllers that have axes that start at -32768 and then snap to 0 at the first input report 2019-11-28 11:44:15 -08:00
SDL_sysjoystick.h Fixed mapping controllers that have axes that start at -32768 and then snap to 0 at the first input report 2019-11-28 11:44:15 -08:00
sort_controllers.py Revert SDL_gamecontrollerdb.h and sort_controllers.py from bug 4024 2019-01-21 20:49:08 +01:00