Fix evdev joystick detection

This commit is contained in:
Zion Nimchuk 2017-08-18 12:26:39 -07:00 committed by Ivan
parent 514a98321d
commit e6a07e80d7
2 changed files with 4 additions and 3 deletions

View file

@ -8,8 +8,6 @@
#include <vector>
#include <thread>
#define JOYSTICK_BUSTYPE 3
enum { EVDEV_DPAD_HAT_AXIS_X = -1, EVDEV_DPAD_HAT_AXIS_Y = -2 };
struct evdev_joystick_config final : cfg::node