aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/evdev.h b/src/evdev.h
index c588b5d..165aea4 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -100,6 +100,12 @@ enum fkeymode {
FKEYMODE_MMKEYS, /* function keys send multimedia keys */
};
+enum SlotState {
+ SLOTSTATE_OPEN = 8,
+ SLOTSTATE_CLOSE,
+ SLOTSTATE_EMPTY,
+};
+
/* axis specific data for wheel emulation */
typedef struct {
int up_button;
@@ -144,8 +150,7 @@ typedef struct {
#ifdef MULTITOUCH
ValuatorMask *mt_mask;
int cur_slot;
- BOOL close_slot;
- BOOL open_slot;
+ enum SlotState slot_state;
struct mtdev *mtdev;
#endif