linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mohamed-Ikbel Boulabiar <medikbel@lii-enac.fr>
To: linux-input@vger.kernel.org
Cc: dmitry.torokhov@gmail.com, vojtech@suse.cz, chatty@enac.fr,
	rydberg@euromail.se, boulabiar@gmail.com
Subject: [PATCH] input: mt: Add ABS_MT_* Events reporting to evtest
Date: Wed, 17 Jun 2009 08:22:18 +0100	[thread overview]
Message-ID: <1245223338.22157.23.camel@linux-85bv> (raw)
In-Reply-To: <1245222242.22157.6.camel@linux-85bv>

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]

This patch adds new multitouch events reporting capabilities to evtest
tool.
New multi-touch events (ABS_MT_*) were added by Henrik Rydberg in the
kernel-2.6.30

From: Mohamed-Ikbel Boulabiar <medikbel@lii-enac.fr>
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  6:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1245222242.22157.6.camel@linux-85bv>]

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=1245223338.22157.23.camel@linux-85bv \
    --to=medikbel@lii-enac.fr \
    --cc=boulabiar@gmail.com \
    --cc=chatty@enac.fr \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=rydberg@euromail.se \
    --cc=vojtech@suse.cz \
    /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).