From: Mohamed-Ikbel Boulabiar <medikbel@lii-enac.fr>
To: linux-input@vger.kernel.org
Subject: [PATCH] ABS_MT_* Events reporting in evtest
Date: Wed, 17 Jun 2009 10:38:05 +0100 [thread overview]
Message-ID: <1245231485.4881.4.camel@linux-85bv> (raw)
[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]
This patch adds new multitouch events ABS_MT_* (added by Henrik Rydberg
in the kernel-2.6.30) reporting capabilities to evtest tool.
Tested-by: Stéphane Chatty <chatty@enac.fr>
diff -rupN a/utils/evtest.c b/utils/evtest.c
--- a/utils/evtest.c 2009-05-20 00:12:14.000000000 +0100
+++ b/utils/evtest.c 2009-06-17 08:16:15.000000000 +0100
@@ -2,7 +2,7 @@
* $Id$
*
* Copyright (c) 1999-2000 Vojtech Pavlik
- *
+ * 2009 Mohamed-Ikbel Boulabiar
* Event device test program
*/
@@ -252,6 +252,16 @@ char *absolutes[ABS_MAX + 1] = {
[ABS_DISTANCE] = "Distance", [ABS_TILT_X] = "XTilt",
[ABS_TILT_Y] = "YTilt", [ABS_TOOL_WIDTH] = "Tool Width",
[ABS_VOLUME] = "Volume", [ABS_MISC] = "Misc",
+ [ABS_MT_TOUCH_MAJOR] = "MT Touch Major",
+ [ABS_MT_TOUCH_MINOR] = "MT Touch Minor",
+ [ABS_MT_WIDTH_MAJOR] = "MT Width Major",
+ [ABS_MT_WIDTH_MINOR] = "MT Width Minor",
+ [ABS_MT_POSITION_X] = "MT Position X",
+ [ABS_MT_POSITION_Y] = "MT Position Y",
+ [ABS_MT_TOOL_TYPE] = "MT Tool Type",
+ [ABS_MT_BLOB_ID] = "MT Blob ID",
+ [ABS_MT_ORIENTATION] = "MT Orientation",
+ [ABS_MT_TRACKING_ID] = "MT Tracking ID",
};
char *misc[MSC_MAX + 1] = {
[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
reply other threads:[~2009-06-17 8:39 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=1245231485.4881.4.camel@linux-85bv \
--to=medikbel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).