From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed-Ikbel Boulabiar Subject: [PATCH] ABS_MT_* Events reporting in evtest Date: Wed, 17 Jun 2009 10:38:05 +0100 Message-ID: <1245231485.4881.4.camel@linux-85bv> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-9/tN2/7omF1qh9cst+xq" Return-path: Received: from 89-230.252-81.static-ip.oleane.fr ([81.252.230.89]:43786 "EHLO smtp.lii-enac.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754458AbZFQIjp (ORCPT ); Wed, 17 Jun 2009 04:39:45 -0400 Received: from [10.0.0.160] (89-230.252-81.static-ip.oleane.fr [81.252.230.89]) (Authenticated sender: medikbel@smtp.lii-enac.fr) by smtp.lii-enac.fr (DoorWays) with ESMTPA id 3417994FA3 for ; Wed, 17 Jun 2009 10:39:42 +0200 (CEST) Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: linux-input@vger.kernel.org --=-9/tN2/7omF1qh9cst+xq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9phane Chatty diff -rupN a/utils/evtest.c b/utils/evtest.c=20 --- 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 */ =20 @@ -252,6 +252,16 @@ char *absolutes[ABS_MAX + 1] =3D { [ABS_DISTANCE] =3D "Distance", [ABS_TILT_X] =3D "XTilt", [ABS_TILT_Y] =3D "YTilt", [ABS_TOOL_WIDTH] =3D "Tool Width"= , [ABS_VOLUME] =3D "Volume", [ABS_MISC] =3D "Misc", + [ABS_MT_TOUCH_MAJOR] =3D "MT Touch Major", + [ABS_MT_TOUCH_MINOR] =3D "MT Touch Minor", + [ABS_MT_WIDTH_MAJOR] =3D "MT Width Major", + [ABS_MT_WIDTH_MINOR] =3D "MT Width Minor", + [ABS_MT_POSITION_X] =3D "MT Position X", =20 + [ABS_MT_POSITION_Y] =3D "MT Position Y", + [ABS_MT_TOOL_TYPE] =3D "MT Tool Type", =20 + [ABS_MT_BLOB_ID] =3D "MT Blob ID", + [ABS_MT_ORIENTATION] =3D "MT Orientation", + [ABS_MT_TRACKING_ID] =3D "MT Tracking ID", }; =20 char *misc[MSC_MAX + 1] =3D { --=-9/tN2/7omF1qh9cst+xq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAko4uX0ACgkQAD1+XQxLfcTzuwCeKmgcQtMXwO6tzAwvckU9pCe9 wDIAoMeaGlzJo+Hk/xaRqvUzs9WaUP6m =6yXY -----END PGP SIGNATURE----- --=-9/tN2/7omF1qh9cst+xq--