]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Sat, 6 Dec 2014 14:02:51 +0000 (15:02 +0100)
commita4e2b94ab9353230fe45187ee0c15a2fc9195fc3
treea15f04a653ee673c6b6baa0157a571aebf4a3a22
parent9abcb95a72698fe08402c7204d2375af50a1e01d
Input: Add INPUT_PROP_TOPBUTTONPAD device property

commit f37c013409bb78ebb958821aa10d069e707cabac upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
include/uapi/linux/input.h