aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorZephaniah E. Hull <warp@agamemnon.b5>2006-07-19 23:06:23 -0400
committerZephaniah E. Hull <warp@agamemnon.b5>2006-07-19 23:06:23 -0400
commitfa03de438ea0ae0f07424235f4972e73ff88ef17 (patch)
treef4400054caa58d89884546da2e824f809ed077cc /src/evdev.h
parentSplit the New functions so that structs can be allocated and buttons (diff)
downloadxf86-input-evdev-fa03de438ea0ae0f07424235f4972e73ff88ef17.tar.gz
xf86-input-evdev-fa03de438ea0ae0f07424235f4972e73ff88ef17.tar.bz2
xf86-input-evdev-fa03de438ea0ae0f07424235f4972e73ff88ef17.zip
Move the axis to button map code back into the rel code.
This might solve some problems, but should at least prevent some odd behavior.
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 2a65530..161978d 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -174,12 +174,12 @@ typedef struct {
int v[REL_MAX];
int count;
int map[REL_MAX];
+ int btnMap[REL_MAX][2];
} evdevRelRec, *evdevRelPtr;
typedef struct {
int axes;
int v[ABS_MAX];
- int btnMap[ABS_MAX][2];
} evdevAxesRec, *evdevAxesPtr;
typedef struct {