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.
This commit is contained in:
Zephaniah E. Hull
2006-07-19 23:06:23 -04:00
parent dc88668839
commit fa03de438e
3 changed files with 26 additions and 29 deletions

View File

@@ -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 {