Skip to content

Commit

Permalink
enable compilation on pre 6.1 kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Jan 5, 2025
1 parent e636946 commit b27afdf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
#include <linux/usb/quirks.h>
#include <linux/timer.h>

// 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
Expand Down

0 comments on commit b27afdf

Please sign in to comment.