chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9376237
)
udev: move the KEY_* defines to missing.h (#6278)
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 4 Jul 2017 07:41:46 +0000
(17:41 +1000)
committer
Sven Eden
<yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:46:53 +0000
(09:46 +0200)
src/basic/missing.h
patch
|
blob
|
history
diff --git
a/src/basic/missing.h
b/src/basic/missing.h
index a923de5e58fa3a735cbced5ffa81b83546047133..24c6d820bd84690f62e07985d4c4c8b215c7bc86 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 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