mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user