summaryrefslogtreecommitdiff
path: root/src/eventcomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventcomm.c')
-rw-r--r--src/eventcomm.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c
index 6fb83f5..92bf749 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -69,13 +69,7 @@ struct eventcomm_proto_data
struct mtdev *mtdev;
int axis_map[MT_ABS_SIZE];
int cur_slot;
- enum
- {
- SLOTSTATE_OPEN = 0,
- SLOTSTATE_CLOSE,
- SLOTSTATE_UPDATE,
- SLOTSTATE_EMPTY,
- } slot_state;
+ enum SynapticsSlotState slot_state;
ValuatorMask *mt_mask;
ValuatorMask **last_mt_vals;
unsigned int num_touches;