[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D0B38F2.2040409@gmail.com>
Date: Fri, 17 Dec 2010 13:18:26 +0300
From: Nikolai Kondrashov <spbnick@...il.com>
To: Chase Douglas <chase.douglas@...onical.com>
CC: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Henrik Rydberg <rydberg@...omail.se>,
Chris Bagwell <chris@...bagwell.com>,
Peter Hutterer <peter.hutterer@...-t.net>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] Documentation: Add evdev type and code definitions
Hi Chase,
Thank you for this work :)
On 12/15/2010 12:21 AM, Chase Douglas wrote:
> +* BTN_TOOL_<name>, BTN_TOUCH:
> + - These codes are used in conjunction with input trackpads, tablets, and
> + touchscreens. These devices may be used with fingers, pens, or other tools.
> + When an event occurs and a tool is used, the corresponding BTN_TOOL_<name>
> + code should be set to a value of 1. When the tool is no longer interacting
> + with the input device, the BTN_TOOL_<name> code should be reset to 0. All
> + trackpads, tablets, and touchscreens should use at least one BTN_TOOL_<name>
> + code when events are generated. For non-tablet devices, the tool is usually
> + BTN_TOUCH.
One minor note: some cheap tablets don't send any BTN_TOOL_*, but only a
BTN_TOUCH. These include UC-Logic tablets (drivers/hid/hid-uclogic.c).
Sincerely,
Nick
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists