]> git.baikalelectronics.ru Git - kernel.git/commit
Input: Add INPUT_PROP_TOPBUTTONPAD device property
authorHans de Goede <hdegoede@redhat.com>
Sun, 20 Apr 2014 05:25:45 +0000 (22:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 20 Apr 2014 05:44:13 +0000 (22:44 -0700)
commit4fb271860d3cb7f49e3a7687e3f4ee5e62e1b06b
treeb06fb811b5b18c9fa1427d5c7723d8456f43f799
parent1e87ba719a09b83a07eb6b390a01056e87ecd1c0
Input: Add INPUT_PROP_TOPBUTTONPAD device property

On some newer laptops with a trackpoint the physical buttons for the
trackpoint have been removed to allow for a larger touchpad. On these
laptops the buttonpad has clearly marked areas on the top which are to be
used as trackpad buttons.

Users of the event device-node need to know about this, so that they can
properly interpret BTN_LEFT events as being a left / right / middle click
depending on where on the button pad the clicking finger is.

This commits adds a INPUT_PROP_TOPBUTTONPAD device property which drivers
for such buttonpads will use to signal to the user that this buttonpad not
only has the normal bottom button area, but also a top button area.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
include/uapi/linux/input.h