[PATCH libevdev] Store the abs value after handling mt events

Benjamin Tissoires benjamin.tissoires at gmail.com
Wed Aug 28 02:56:00 PDT 2013


On Thu, Aug 15, 2013 at 5:45 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> This way any ABS_MT_ event value that comes in will also be stored in abs_info.
> That always corresponds to "current slot", so if a user calls
> libevdev_set_event_value() or libevdev_get_event_value() they're actually
> modifying the current slot value.
>
> When the current slot changes, sync the state back into the absinfo values.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> follow-up to patch 3/7, this brings the expected behaviour and symmetry for
> libevdev_get/set_event_value.

Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>

Thanks for this one. Sorry, it felt in the depth of my mailbox, which
I'm trying to empty it little by little.

Cheers,
Benjamin


More information about the Input-tools mailing list