[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4CF57197.7070000@euromail.se>
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