chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v234: Apply missing upstream fixes in src/basic (1/6)
[elogind.git]
/
src
/
basic
/
missing.h
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index a923de5e58fa3a735cbced5ffa81b83546047133..5c51fe25027a220902031563d694cfda4ba1bf61 100644
(file)
--- a/
src/basic/missing.h
+++ b/
src/basic/missing.h
@@
-1080,6
+1080,15
@@
struct input_mask {
#ifndef INPUT_PROP_ACCELEROMETER
#define INPUT_PROP_ACCELEROMETER 0x06
#endif
#ifndef INPUT_PROP_ACCELEROMETER
#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
#endif // 0
#ifndef HAVE_KEY_SERIAL_T
#endif // 0
#ifndef HAVE_KEY_SERIAL_T
@@
-1102,10
+1111,6
@@
typedef int32_t key_serial_t;
#define KEYCTL_DESCRIBE 6
#endif
#define KEYCTL_DESCRIBE 6
#endif
-#ifndef KEYCTL_LINK
-#define KEYCTL_LINK 8
-#endif
-
#ifndef KEYCTL_READ
#define KEYCTL_READ 11
#endif
#ifndef KEYCTL_READ
#define KEYCTL_READ 11
#endif