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 Oct 9, 2024
1 parent b8aebb3 commit c379818
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 c379818

Please sign in to comment.