summaryrefslogtreecommitdiff
path: root/src/synapticsstr.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-23 13:51:14 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-31 15:13:41 +1000
commit0d9996da02493bed8931663bb3d724e30bd56877 (patch)
treee3b1d425dea554b95f104d99d44acd680cdef21d /src/synapticsstr.h
parent29bc1a8a5e0d12dadaed3f9d162bcc6b7913250a (diff)
Remove typedefs from all enums
We currently mix non-typedef'd and typedef'd enums in the code. Stop this mixing, remove typedefs to make the code more obvious. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/synapticsstr.h')
-rw-r--r--src/synapticsstr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index 384b7bb..659625e 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -48,7 +48,7 @@
#define SYNAPTICS_MAX_TOUCHES 10
#define SYN_MAX_BUTTONS 12 /* Max number of mouse buttons */
-typedef enum {
+enum TapEvent {
RT_TAP = 0, /* Right top corner */
RB_TAP, /* Right bottom corner */
LT_TAP, /* Left top corner */
@@ -57,14 +57,14 @@ typedef enum {
F2_TAP, /* Non-corner tap, two fingers */
F3_TAP, /* Non-corner tap, three fingers */
MAX_TAP
-} TapEvent;
+};
-typedef enum {
+enum ClickFingerEvent {
F1_CLICK1 = 0, /* Click left, one finger */
F2_CLICK1, /* Click left, two fingers */
F3_CLICK1, /* Click left, three fingers */
MAX_CLICK
-} ClickFingerEvent;
+};
typedef struct _SynapticsMoveHist {