From c379818298e0e7477b4a070e219c81817412226c Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Wed, 9 Oct 2024 14:36:38 +0200 Subject: [PATCH] enable compilation on pre 6.1 kernels --- xpad.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xpad.c b/xpad.c index 6d8edfb..d5a016e 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