diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2012-04-03 12:29:03 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2013-10-06 16:03:35 +0100 |
commit | 11e71bfc6044c9562cd9c3110f051dc966516413 (patch) | |
tree | 94e24b78575e24402769d3f84d5a9256949f8301 /src/evdev.h | |
parent | evdev 2.8.1 (diff) | |
download | xf86-input-evdev-11e71bfc6044c9562cd9c3110f051dc966516413.tar.gz xf86-input-evdev-11e71bfc6044c9562cd9c3110f051dc966516413.tar.bz2 xf86-input-evdev-11e71bfc6044c9562cd9c3110f051dc966516413.zip |
code-remap for 2.8.1code-remap-2.8.1
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h index 4742b43..a74a08a 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -150,6 +150,13 @@ typedef struct { } EventQueueRec, *EventQueuePtr; typedef struct { + uint8_t cd[256]; +} EvdevKeyRemapSlice; +typedef struct { + EvdevKeyRemapSlice* sl[256]; +} EvdevKeyRemap, *EvdevKeyRemapPtr; + +typedef struct { unsigned short id_vendor; unsigned short id_product; @@ -230,6 +237,8 @@ typedef struct { unsigned char btnmap[32]; /* config-file specified button mapping */ + EvdevKeyRemapPtr keyremap; + 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; |