lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 30 Nov 2010 22:50:15 +0100
From:	Henrik Rydberg <rydberg@...omail.se>
To:	Henrik Rydberg <rydberg@...omail.se>
CC:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Jiri Kosina <jkosina@...e.cz>, linux-input@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] input: mt: Move tracking and pointer emulation to
 input-mt

> @@ -132,12 +128,10 @@ static void parse_touch(struct w8001 *w8001)

>  			input_report_abs(dev, ABS_MT_POSITION_X, x);
>  			input_report_abs(dev, ABS_MT_POSITION_Y, y);
>  			input_report_abs(dev, ABS_MT_TOOL_TYPE, MT_TOOL_FINGER);
> -			if (w8001->trkid[i] < 0)
> -				w8001->trkid[i] = trkid++ & MAX_TRACKING_ID;
> +			input_report_slot_state(dev, true);


			input_mt_report_slot_state(dev, true);

>  		} else {
> -			w8001->trkid[i] = -1;
> +			input_report_slot_state(dev, false);


			input_mt_report_slot_state(dev, false);

>  		}
> -		input_report_abs(dev, ABS_MT_TRACKING_ID, w8001->trkid[i]);
>  	}
>  
>  	input_sync(dev);


Henrik

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ