diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2009-04-27 14:52:43 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-28 12:35:12 -0400 |
commit | 6916d97f6e25cc66a32d6e9a16419067d843b14f (patch) | |
tree | 15f4b7cbf480d145f7e8c1e812b762c19f04b386 /include/linux/input.h | |
parent | 9894cf0ff5e9ccda60d8d0e2d37bd61539b08826 (diff) |
Input: bcm5974 - add quad-finger tapping
The integrated button on the new unibody Macbooks presents a need to
report explicit four-finger actions. Evidently, the finger pressing
the button is also touching the trackpad, so in order to fully support
three-finger actions, the driver must be able to report four-finger
actions. This patch adds a new button, BTN_TOOL_QUADTAP, which
achieves this.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 6b28048fc568..32cb825939be 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -445,6 +445,7 @@ struct input_absinfo { | |||
445 | #define BTN_STYLUS2 0x14c | 445 | #define BTN_STYLUS2 0x14c |
446 | #define BTN_TOOL_DOUBLETAP 0x14d | 446 | #define BTN_TOOL_DOUBLETAP 0x14d |
447 | #define BTN_TOOL_TRIPLETAP 0x14e | 447 | #define BTN_TOOL_TRIPLETAP 0x14e |
448 | #define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */ | ||
448 | 449 | ||
449 | #define BTN_WHEEL 0x150 | 450 | #define BTN_WHEEL 0x150 |
450 | #define BTN_GEAR_DOWN 0x150 | 451 | #define BTN_GEAR_DOWN 0x150 |