mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
Comment the touch states
Everytime I look at this I get confused about OPEN_EMPTY vs EMPTY. Let's fix that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
@@ -44,11 +44,11 @@ struct _SynapticsPrivateRec;
|
||||
typedef struct _SynapticsPrivateRec SynapticsPrivate;
|
||||
|
||||
enum SynapticsSlotState {
|
||||
SLOTSTATE_EMPTY = 0,
|
||||
SLOTSTATE_OPEN,
|
||||
SLOTSTATE_CLOSE,
|
||||
SLOTSTATE_OPEN_EMPTY,
|
||||
SLOTSTATE_UPDATE,
|
||||
SLOTSTATE_EMPTY = 0, /* no slot in this cycle */
|
||||
SLOTSTATE_OPEN, /* tracking ID received */
|
||||
SLOTSTATE_CLOSE, /* tracking ID -1 received */
|
||||
SLOTSTATE_OPEN_EMPTY, /* previously had tracking id, no events in this read cycle */
|
||||
SLOTSTATE_UPDATE, /* had tracking id, other events in this cycle */
|
||||
};
|
||||
|
||||
/* used to mark emulated hw button state */
|
||||
|
||||
Reference in New Issue
Block a user