Input: Convert DeviceIntRec::last to use doubles

Change the last real user of a split integer/fractional co-ordinate
system, DeviceIntRec's last->{valuators,remainder} to just have one set
of doubles.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Daniel Stone
2011-03-03 15:46:45 +00:00
committed by Peter Hutterer
parent 2d9beeb217
commit 94c19a0a72
3 changed files with 30 additions and 42 deletions

View File

@@ -521,8 +521,7 @@ typedef struct _DeviceIntRec {
* remainder supports acceleration
*/
struct {
int valuators[MAX_VALUATORS];
float remainder[MAX_VALUATORS];
double valuators[MAX_VALUATORS];
int numValuators;
DeviceIntPtr slave;
} last;