summaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorJeong-Hyun Kang <jhyuni.kang@samsung.com>2015-02-05 15:17:11 +0900
committerJeong-Hyun Kang <jhyuni.kang@samsung.com>2015-02-05 15:17:43 +0900
commit8778bc0d63273315e071eb7140ff42a44acba42d (patch)
treeae9f9627dc44af644c81401a5633270580113850 /src/evdev.h
parentf5d0222399838dfa62d6dca03c1b5b82dec61b48 (diff)
downloadxf86-input-evdev-tizen.tar.gz
xf86-input-evdev-tizen.tar.bz2
xf86-input-evdev-tizen.zip
Change-Id: Ib534968886004851df605a1314de4b4a2f899cc0
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index c2f9246..44bb42b 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -145,6 +145,15 @@ typedef struct {
#endif
} EventQueueRec, *EventQueuePtr;
+#ifdef _F_REMAP_KEYS_
+typedef struct {
+ uint8_t cd[256];
+} EvdevKeyRemapSlice;
+typedef struct {
+ EvdevKeyRemapSlice* sl[256];
+} EvdevKeyRemap, *EvdevKeyRemapPtr;
+#endif //_F_REMAP_KEYS_
+
typedef struct {
unsigned short id_vendor;
unsigned short id_product;
@@ -228,6 +237,10 @@ typedef struct {
unsigned char btnmap[32]; /* config-file specified button mapping */
+#ifdef _F_REMAP_KEYS_
+ EvdevKeyRemapPtr keyremap;
+#endif //_F_REMAP_KEYS_
+
int reopen_attempts; /* max attempts to re-open after read failure */
int reopen_left; /* number of attempts left to re-open the device */
OsTimerPtr reopen_timer;