diff --git a/sunshine/platform/linux_evdev.cpp b/sunshine/platform/linux_evdev.cpp index 9ba08682..a2d396b8 100644 --- a/sunshine/platform/linux_evdev.cpp +++ b/sunshine/platform/linux_evdev.cpp @@ -13,6 +13,11 @@ #include "sunshine/main.h" #include "sunshine/utility.h" +// Support older versions +#ifndef REL_HWHEEL_HI_RES +#define REL_HWHEEL_HI_RES 0x0c +#endif + namespace platf { using namespace std::literals; using evdev_t = util::safe_ptr;