Skip to contentSkip to conversation

input: Add commonly used event types

PATCH RESEND Superseded Alexander Shiyan 1 participant 1 message Feb 10, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 input: Add commonly used event types

Patch adds commonly used event types (EV_KEY and EV_SW) to devicetree bindings header for input subsystem.

---
 include/dt-bindings/input/input.h | 3 +++
 1 file changed, 3 insertions(+)
include/dt-bindings/input/input.h +3 -0
index 042e7b3..3a141d92 100644
@@ -9,6 +9,9 @@
 #ifndef _DT_BINDINGS_INPUT_INPUT_H
 #define _DT_BINDINGS_INPUT_INPUT_H
 
+#define EV_KEY			0x01
+#define EV_SW			0x05
+
 #define KEY_RESERVED		0
 #define KEY_ESC			1
 #define KEY_1			2
Signature · 1 line
1.8.3.2