summaryrefslogtreecommitdiff
path: root/src/evdev_btn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev_btn.c')
-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)
{