Re: [PATCH weston] evdev: Handle SYN_DROPPED, query the state of buttons

2013-03-23 Thread Jonas Ã…dahl
On Mon, Mar 18, 2013 at 10:35 AM, Martin Minarik wrote: > When the kernel event queue overruns, the evdev.c will: > 1. Skip events until and up to the next SYN_REPORT > 2. Notify the compositor of the lag, the compositor can specify >a key range of a key buttons to query the state of. The comp

[PATCH weston] evdev: Handle SYN_DROPPED, query the state of buttons

2013-03-18 Thread Martin Minarik
When the kernel event queue overruns, the evdev.c will: 1. Skip events until and up to the next SYN_REPORT 2. Notify the compositor of the lag, the compositor can specify a key range of a key buttons to query the state of. The compositor will also invalidate the button event counters, if any.