Fixed building on older kernel headers

This commit is contained in:
Sam Lantinga 2023-06-17 09:39:50 -07:00
parent 9fe384b696
commit b98494a101

View File

@ -28,6 +28,9 @@
#include <linux/input.h>
#ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
#ifndef INPUT_PROP_MAX
#define INPUT_PROP_MAX 0x1f
#endif