linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input: mt: Add ABS_MT_* Events reporting to evtest
       [not found] <1245222242.22157.6.camel@linux-85bv>
@ 2009-06-17  7:22 ` Mohamed-Ikbel Boulabiar
  0 siblings, 0 replies; only message in thread
From: Mohamed-Ikbel Boulabiar @ 2009-06-17  7:22 UTC (permalink / raw)
  To: linux-input; +Cc: dmitry.torokhov, vojtech, chatty, rydberg, boulabiar

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-17  6:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1245222242.22157.6.camel@linux-85bv>
2009-06-17  7:22 ` [PATCH] input: mt: Add ABS_MT_* Events reporting to evtest Mohamed-Ikbel Boulabiar

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).