XRecord does not receive Device events for touchscreen ButtonPress/ButtonRelease events

2020-07-01 Thread Merlijn Wajer
Hi, I have written a program to capture ButtonPress and KeyPress events, to play sounds on KeyPress and ButtonPress, and vibrate a device (mobile phone) on ButtonPress. This works fine with a mouse and keyboard, but fails with a touchscreen: the ButtonPress events are never delivered. The

Re: XRecord does not receive Device events for touchscreen ButtonPress/ButtonRelease events

2020-07-01 Thread Merlijn Wajer
Hi, On 01/07/2020 16:47, Merlijn Wajer wrote: > > Does anyone here have a clue what's up here, and what the right way to > fix this would be? I'd like to contribute a fix, but I think I could use > some guidance / feedback here. > > The simple change to me seems to simply fix up record.c to