chiark / gitweb /
udev: input_id: tag accelerometers as ID_INPUT_ACCELEROMETER
[elogind.git] / src / shared / missing.h
index 2b979aeb1b87197bf888847303ed591c80fc2add..eddfa78b8b167ef43b6a3ae887fc49c70b422904 100644 (file)
@@ -926,3 +926,12 @@ static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha
 #ifndef RENAME_NOREPLACE
 #define RENAME_NOREPLACE (1 << 0)
 #endif
+
+
+#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