From cffc51e04aba0090dfb663d2927117318b5ea00c Mon Sep 17 00:00:00 2001 From: "Zephaniah E. Hull" Date: Fri, 14 Apr 2006 07:01:37 +0000 Subject: 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. --- src/evdev.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/evdev.h') 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 { -- cgit v1.2.3