aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 53d32cf..af92b21 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -99,8 +99,12 @@ typedef struct {
int val; /* State of the key/button; pressed or released. */
} EventQueueRec, *EventQueuePtr;
-typedef struct {uint8_t cd[256];} EvdevKeyRemapSlice;
-typedef struct {EvdevKeyRemapSlice* sl[256];} EvdevKeyRemap, *EvdevKeyRemapPtr;
+typedef struct {
+ uint8_t cd[256];
+} EvdevKeyRemapSlice;
+typedef struct {
+ EvdevKeyRemapSlice* sl[256];
+} EvdevKeyRemap, *EvdevKeyRemapPtr;
typedef struct {
const char *device;
@@ -162,7 +166,7 @@ typedef struct {
unsigned char btnmap[32]; /* config-file specified button mapping */
- EvdevKeyRemapPtr keyremap;
+ 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 */