From 185ad42078a3bcb423b83e41ebeddbb7541fe26c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 8 Sep 2010 10:47:34 +1000 Subject: 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 Reviewed-by: Chris Bagwell --- src/evdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/evdev.h') diff --git a/src/evdev.h b/src/evdev.h index ce7f5f8..b382670 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -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; -- cgit v1.2.3