From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolai Kondrashov Subject: Re: [PATCH 2/4] Documentation: Add evdev type and code definitions Date: Fri, 17 Dec 2010 13:18:26 +0300 Message-ID: <4D0B38F2.2040409@gmail.com> References: <1292361672-2581-1-git-send-email-chase.douglas@canonical.com> <1292361672-2581-3-git-send-email-chase.douglas@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f171.google.com ([209.85.215.171]:51380 "EHLO mail-ey0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857Ab0LQKSv (ORCPT ); Fri, 17 Dec 2010 05:18:51 -0500 In-Reply-To: <1292361672-2581-3-git-send-email-chase.douglas@canonical.com> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Chase Douglas Cc: Dmitry Torokhov , Henrik Rydberg , Chris Bagwell , Peter Hutterer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Hi Chase, Thank you for this work :) On 12/15/2010 12:21 AM, Chase Douglas wrote: > +* BTN_TOOL_, 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_ > + code should be set to a value of 1. When the tool is no longer interacting > + with the input device, the BTN_TOOL_ code should be reset to 0. All > + trackpads, tablets, and touchscreens should use at least one BTN_TOOL_ > + 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