* [PATCH] ABS_MT_* Events reporting in evtest
@ 2009-06-17 9:38 Mohamed-Ikbel Boulabiar
0 siblings, 0 replies; only message in thread
From: Mohamed-Ikbel Boulabiar @ 2009-06-17 9:38 UTC (permalink / raw)
To: linux-input
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-17 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17 9:38 [PATCH] ABS_MT_* Events reporting in 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).