diff options
author | Zephaniah E. Hull <warp@aehallh.com> | 2006-04-14 07:01:37 +0000 |
---|---|---|
committer | Zephaniah E. Hull <warp@aehallh.com> | 2006-04-14 07:01:37 +0000 |
commit | cffc51e04aba0090dfb663d2927117318b5ea00c (patch) | |
tree | 59f0279f214a77e551bd18d28000c911e56d034c /src/evdev.h | |
parent | Remove a debugging message. (diff) | |
download | xf86-input-evdev-cffc51e04aba0090dfb663d2927117318b5ea00c.tar.gz xf86-input-evdev-cffc51e04aba0090dfb663d2927117318b5ea00c.tar.bz2 xf86-input-evdev-cffc51e04aba0090dfb663d2927117318b5ea00c.zip |
evdevAbsRec: Remove the scale bool, rename scale_x and scale_y to scale[2].
evdevAxesRec: Make btnMap an int array instead of a Card8 array.
Make abs support and non-core stuff actually work.
Relative emulation for abs mode is still a bit broken, but that's far less
critical.
How many buttons we've registered is configuration information, not an
error message.
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/evdev.h b/src/evdev.h index 80e01f1..ffe8cc1 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -153,9 +153,7 @@ typedef struct { int min[ABS_MAX]; int max[ABS_MAX]; int map[ABS_MAX]; - Bool scale; - int scale_x; - int scale_y; + int scale[2]; int screen; /* Screen number for this device. */ } evdevAbsRec, *evdevAbsPtr; @@ -169,7 +167,7 @@ typedef struct { typedef struct { int axes; int v[ABS_MAX]; - CARD8 btnMap[ABS_MAX][2]; + int btnMap[ABS_MAX][2]; } evdevAxesRec, *evdevAxesPtr; typedef struct { |