timower / rM2-stuff

Collection of reMarkable related apps, utilities and libraries.
GNU General Public License v3.0
125 stars 10 forks source link

Handle SYN_DROPPED #16

Closed Eeems closed 1 year ago

Eeems commented 1 year ago

Your current handling of input events doesn't currently handle dropping an event if SYN_DROPPED is encountered. This could be useful to make the event flood slightly less noisy if every application supported it properly.

timower commented 1 year ago

I'm using libevdev which should handle SYN_DROPPED for me: https://www.freedesktop.org/software/libevdev/doc/1.1/syn_dropped.html

Unless there's a bug in my code: here

Eeems commented 1 year ago

If libevdev automatically handles it, then I have no concerns.