diff mbox

Input: document INPUT_PROP_TOPBUTTONPAD

Message ID 20140722000018.GA10920@jelly.redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Hutterer July 22, 2014, midnight UTC
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
 Documentation/input/event-codes.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Dmitry Torokhov July 22, 2014, 12:58 a.m. UTC | #1
On Tue, Jul 22, 2014 at 10:00:18AM +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

Applied, thank you.

> ---
>  Documentation/input/event-codes.txt | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/Documentation/input/event-codes.txt b/Documentation/input/event-codes.txt
> index f82ba9c..7ff7bf4 100644
> --- a/Documentation/input/event-codes.txt
> +++ b/Documentation/input/event-codes.txt
> @@ -281,6 +281,19 @@ gestures can normally be extracted from it.
>  If INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT
>  device.
>  
> +INPUT_PROP_TOPBUTTONPAD:
> +-----------------------
> +Some laptops, most notably the Lenovo *40 series provide a trackstick
> +device but do not have physical buttons associated with the trackstick
> +device. Instead, the top area of the touchpad is marked to show
> +visual/haptic areas for left, middle, right buttons intended to be used
> +with the trackstick.
> +
> +If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons
> +accordingly. This property does not affect kernel behavior.
> +The kernel does not provide button emulation for such devices but treats
> +them as any other INPUT_PROP_BUTTONPAD device.
> +
>  Guidelines:
>  ==========
>  The guidelines below ensure proper single-touch and multi-finger functionality.
> -- 
> 1.9.3
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/input/event-codes.txt b/Documentation/input/event-codes.txt
index f82ba9c..7ff7bf4 100644
--- a/Documentation/input/event-codes.txt
+++ b/Documentation/input/event-codes.txt
@@ -281,6 +281,19 @@  gestures can normally be extracted from it.
 If INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT
 device.
 
+INPUT_PROP_TOPBUTTONPAD:
+-----------------------
+Some laptops, most notably the Lenovo *40 series provide a trackstick
+device but do not have physical buttons associated with the trackstick
+device. Instead, the top area of the touchpad is marked to show
+visual/haptic areas for left, middle, right buttons intended to be used
+with the trackstick.
+
+If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons
+accordingly. This property does not affect kernel behavior.
+The kernel does not provide button emulation for such devices but treats
+them as any other INPUT_PROP_BUTTONPAD device.
+
 Guidelines:
 ==========
 The guidelines below ensure proper single-touch and multi-finger functionality.