diff options
author | Peter Osterlund <petero2@telia.com> | 2003-09-25 01:37:13 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:12 +0200 |
commit | a37a1239a79d0147dbd76e7346108d4b7a836864 (patch) | |
tree | 507aa7a47fa006d5ec858eed039fe98497bdb6c8 /linux_input.h | |
parent | fe3d1e6d2bae13264eb85d2466d1e8c78686d993 (diff) |
Added support for the new 2.6 kernel events ABS_TOOL_WIDTH,
BTN_TOOL_FINGER, BTN_TOOL_DOUBLETAP and BTN_TOOL_TRIPLETAP. Note that
this swaps the direction of the Y axis internally to match X and the
linux input subsystem. Because of this, the TopEdge and BottomEdge
parameters must be modified in the config file. There is some backwards
compatibility code for old 2.5/2.6 kernels that will probably be
deleted later.
Diffstat (limited to 'linux_input.h')
-rw-r--r-- | linux_input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux_input.h b/linux_input.h index 39762d5..9e8c487 100644 --- a/linux_input.h +++ b/linux_input.h @@ -47,10 +47,14 @@ struct input_id { #define BTN_5 0x105 #define BTN_6 0x106 #define BTN_7 0x107 +#define BTN_TOOL_FINGER 0x145 +#define BTN_TOOL_DOUBLETAP 0x14d +#define BTN_TOOL_TRIPLETAP 0x14e #define ABS_X 0x00 #define ABS_Y 0x01 #define ABS_PRESSURE 0x18 +#define ABS_TOOL_WIDTH 0x1c #define MSC_GESTURE 0x02 |