Yep, your fix takes care of my issue. I wasn't sure that the remaining code was unused, so I left it alone. Thanks for the quick response!
Fix uirt2 hang on device disconnect
OK, I got nerd-sniped in the process of collecting the data I needed to file a good bug and ended up sending a merge request with a fix for this.
Fix delayed delivery of events (#393)
In case it's useful, here's a log of me pressing the same buttons with commit f6ea25, which works correctly for me.
In case it's useful, here's a log of me pressing the same buttons with commit f6ea25.
Short button presses appear only after another press (regression from 0.10.1)