chiark / gitweb /
udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER
[elogind.git] / src / shared / missing.h
index 6bb5ff0f093cb0649642f44ce4f36909dddd8a94..eddfa78b8b167ef43b6a3ae887fc49c70b422904 100644 (file)
@@ -930,4 +930,8 @@ static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha
 
 #ifndef INPUT_PROP_POINTING_STICK
 #define INPUT_PROP_POINTING_STICK 0x05
 
 #ifndef INPUT_PROP_POINTING_STICK
 #define INPUT_PROP_POINTING_STICK 0x05
+#endif
+
+#ifndef INPUT_PROP_ACCELEROMETER
+#define INPUT_PROP_ACCELEROMETER  0x06
 #endif
\ No newline at end of file
 #endif
\ No newline at end of file