input: mt: Add ABS_MT_* Events reporting to evtest
A message that is not in the archive (sent off-list or not yet received): 1245222242.22157.6.camel@linux-85bv
PATCH 1/1 input: mt: Add ABS_MT_* Events reporting to evtest
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 <[email protected]>
Tested-by Stéphane Chatty <[email protected]>
utils/evtest.c +11 -1
@@ -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 ] = {