Comment 5 for bug 67954

Revision history for this message
In , Michael Schmitz (schmitz-zirkon) wrote : Re: mouseemu prevents pbbuttonsd to work

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