Fixed building on older kernel headers

This commit is contained in:
Sam Lantinga committed 2023-06-17 09:46:46 -07:00
1 parent b98494a101
commit b770644411
1 file changed
+7 -1
+7 -1
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