diff --git a/xpad.c b/xpad.c index e52ef1c..11c1709 100644 --- a/xpad.c +++ b/xpad.c @@ -73,6 +73,11 @@ #include #include +// enable compilation on pre 6.1 kernels +#ifndef ABS_PROFILE +#define ABS_PROFILE ABS_MISC +#endif + #define XPAD_PKT_LEN 64 /* The Guitar Hero Live (GHL) Xbox One dongles require a poke