All of lore.kernel.org
 help / color / mirror / Atom feed
From: chatty@lii-enac.fr (Stephane Chatty)
To: linux-input@vger.kernel.org
Subject: [PATCH 1/2] Support for Stantum multitouch panel
Date: Wed, 09 Dec 2009 22:49:03 +0100	[thread overview]
Message-ID: <20091209214903.D3A5D9520B@smtp.lii-enac.fr> (raw)

Extended IS_INPUT_APPLICATION to accept digitzers that are actual input devices (touchscreens, 
light pens, touch pads, white boards)

Signed-off-by: Stephane Chatty <chatty@enac.fr>

diff -uprN a/include/linux/hid.h b/include/linux/hid.h
--- a/include/linux/hid.h	2009-12-03 04:51:21.000000000 +0100
+++ b/include/linux/hid.h	2009-12-08 22:30:46.000000000 +0100
@@ -662,7 +662,7 @@ struct hid_ll_driver {
 
 /* Applications from HID Usage Tables 4/8/99 Version 1.1 */
 /* We ignore a few input applications that are not widely used */
-#define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001) || (a == 0x000d0002))
+#define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001) || ((a >= 0x000d0002) && (a <= 0x000d0006)))
 
 /* HID core API */
 

                 reply	other threads:[~2009-12-09 21:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091209214903.D3A5D9520B@smtp.lii-enac.fr \
    --to=chatty@lii-enac.fr \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.