I found the reason for pbbuttonsd not getting any more key events:
mouseemu grabbing the device for exclusive use seems to prevent
other processes from receiving events ...
Line 232 of mouseemu.c:
register_inputhandler(fd, keyboard_handler, 1);
Change that 1 to 0 and key events are passed on to pbbuttonsd (I imagine
the mouse register device call needs the same change to let pbbuttonsd
react to mouse moves).
Side effect: the 3~ crap on pasting with the mouse is back.
I've played a bit with the event passthrough mechanism (sending sync
events after passed key events) to no avail.
Hi,
I found the reason for pbbuttonsd not getting any more key events:
mouseemu grabbing the device for exclusive use seems to prevent
other processes from receiving events ...
Line 232 of mouseemu.c:
register_ inputhandler( fd, keyboard_handler, 1);
Change that 1 to 0 and key events are passed on to pbbuttonsd (I imagine
the mouse register device call needs the same change to let pbbuttonsd
react to mouse moves).
Side effect: the 3~ crap on pasting with the mouse is back.
I've played a bit with the event passthrough mechanism (sending sync
events after passed key events) to no avail.
Michael