summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephaniah E. Hull <warp@agamemnon.b5>2007-06-06 04:42:51 -0400
committerZephaniah E. Hull <warp@agamemnon.b5>2007-06-06 04:42:51 -0400
commit5c6b3dd86feef58ccf43a710624404031df72f2c (patch)
treefb89cfc779072f371091e6420d506118200a3cc8
parentf15636ac529481a9d83e0250ff89690296f96a3d (diff)
Move MapButtons_t closer to where it's used.
-rw-r--r--src/evdev_btn.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/evdev_btn.c b/src/evdev_btn.c
index 63a6abf..90f33b4 100644
--- a/src/evdev_btn.c
+++ b/src/evdev_btn.c
@@ -161,13 +161,6 @@ EvdevBtnPostFakeClicks(InputInfoRec *pInfo, int button, int count)
}
}
-typedef struct {
- int button_plus;
- int button_minus;
- int step;
- int count;
-} MapButtons_t;
-
static void
EvdevMapButton (InputInfoRec *pInfo, int value, int mode, void *map_data)
{
@@ -209,6 +202,13 @@ EvdevParseMapToButton (InputInfoRec *pInfo,
return 1;
}
+typedef struct {
+ int button_plus;
+ int button_minus;
+ int step;
+ int count;
+} MapButtons_t;
+
static void
EvdevMapButtons (InputInfoRec *pInfo, int value, int mode, void *map_data)
{