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,8 +28,14 @@
#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
#define INPUT_PROP_ACCELEROMETER 0x06
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
#ifndef INPUT_PROP_MAX
#define INPUT_PROP_MAX 0x1f