udev: move the KEY_* defines to missing.h (#6278)

This commit is contained in:
Peter Hutterer
2017-07-04 09:41:46 +02:00
committed by Lennart Poettering
parent 39b6a511e0
commit ea7a562a69
2 changed files with 10 additions and 11 deletions
+9
View File
@@ -1073,6 +1073,15 @@ struct input_mask {
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
#ifndef BTN_DPAD_UP
#define BTN_DPAD_UP 0x220
#define BTN_DPAD_RIGHT 0x223
#endif
#ifndef KEY_ALS_TOGGLE
#define KEY_ALS_TOGGLE 0x230
#endif
#ifndef HAVE_KEY_SERIAL_T
typedef int32_t key_serial_t;
#endif