Linux evdev joystick support (#2885)

* Linux evdev joystick support (#2678)

* Cleanup libevdev configure code

* evdev fixes

* Evdev joystick additions/fixes

* Error message tweak

* Fix evdev multiple joysticks (thanks @hcorion!)

* Change by-id to by-path in evdev
This commit is contained in:
Ryan Gonzalez 2017-07-26 13:03:06 -05:00 committed by Ivan
parent 08f0047529
commit dbd69536ed
6 changed files with 516 additions and 0 deletions

View file

@ -74,6 +74,9 @@ void fmt_class_string<pad_handler>::format(std::string& out, u64 arg)
#endif
#ifdef _WIN32
case pad_handler::mm: return "MMJoystick";
#endif
#ifdef HAVE_LIBEVDEV
case pad_handler::evdev: return "Evdev";
#endif
}