[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbbuttonsd beta on new Powerbook5,8



>
> /sys/class/input/input26/name: Mouseemu virtual keyboard
> /sys/class/input/input26/event5
> /sys/class/input/input27/name: Mouseemu virtual mouse
> /sys/class/input/input27/event6
>
> mouseemu has event0, event1 and event2 open, as well as uinput (two times).
> However, pbbuttonsd does _not_ seem to reopen any devices, in particular
> after a few minutes it still hasn't opened the uinput event devices.

Hopefully the rescan doesn't discard the input devices in the high
twenties :-) Why is it that input device numbers don't get reused BTW?
Someone still keeping them open?

> It still doesn't explain why Fn'ed keys aren't detected by pbbuttonsd
> anymore while mouseemu is running.
>
> Is mouseemu also locking the keyboard exclusively? That, plus the fact
> that pbbuttonsd isn't opening the uinput event dev's, would be the
> explanation then.

Yep, that's what mouseemu needs to do - otherwise you'd get all events
twice. Even if the input code discards duplicate events, you'd still get
to see the button emulation events as key events. Very annoying.

See my other mail - mouseemu might need a recompile if the USB keyboard
special keys got assigned codes above the old KEY_UNKNOWN value.

	Michael



Reply to: