Fixed building on older kernel headers

main
Sam Lantinga 2023-06-17 09:46:46 -07:00
parent b98494a101
commit b770644411
1 changed files with 7 additions and 1 deletions

View File

@ -28,6 +28,12 @@
#include <linux/input.h> #include <linux/input.h>
#ifndef INPUT_PROP_TOPBUTTONPAD
#define INPUT_PROP_TOPBUTTONPAD 0x04
#endif
#ifndef INPUT_PROP_POINTING_STICK
#define INPUT_PROP_POINTING_STICK 0x05
#endif
#ifndef INPUT_PROP_ACCELEROMETER #ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06 #define INPUT_PROP_ACCELEROMETER 0x06
#endif #endif