Hi Miachel Many thanks for your investigation on this bug! I hope to find some time over the next week-end to fix this bug.
On Thu, Jun 02, 2005 at 06:24:38PM +0200, Michael Schmitz wrote: > 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). OK this sounds very plausible. I also found out, that restarting pbbuttonsd gets back the keys (even with mouseemu 0.15-2). > > 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. This is not optimal. The initial reason for all these changes was to avoid this crap. It's quite annoing. Gaudenz -- Ever tried. Ever failed. No matter. Try again. Fail again. Fail better. ~ Samuel Beckett ~
pgpupB6MebxNk.pgp
Description: PGP signature