Rename evdev->tool to evdev->proximity.

evdev doesn't care about the actual tool used, only that it is used as an
indicator for proximity. Rename the field accordingly to make the code more
obvious to read.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
This commit is contained in:
Peter Hutterer
2010-09-08 10:47:34 +10:00
parent 7282e3ac6c
commit 185ad42078
2 changed files with 10 additions and 10 deletions

View File

@@ -124,7 +124,7 @@ typedef struct {
int old_vals[MAX_VALUATORS]; /* Translate absolute inputs to relative */
int flags;
int tool;
int proximity;
int num_buttons; /* number of buttons */
BOOL swap_axes;
BOOL invert_x;