Re: [PATCH] acer-wireless: send an EV_SYN/SYN_REPORT between state changes

2020-12-07 Thread Hans de Goede
Hi, On 12/7/20 7:43 AM, Chris Chiu wrote: > From: Daniel Drake > > Sending the switch state change twice within the same frame is invalid > evdev protocol and only works if the client handles keys immediately as > well. Processing events immediately is incorrect, it forces a fake > order of

[PATCH] acer-wireless: send an EV_SYN/SYN_REPORT between state changes

2020-12-06 Thread Chris Chiu
From: Daniel Drake Sending the switch state change twice within the same frame is invalid evdev protocol and only works if the client handles keys immediately as well. Processing events immediately is incorrect, it forces a fake order of events that does not exist on the device. Recent versions