Fw: [PATCH] Right-click modifier
Franz.Sirl-ppc at lauterbach.com
Tue Oct 14 21:34:58 EST 2003
At 12:27 14.10.2003, Colin Leroy wrote:
>On 14 Oct 2003 at 11h36, Olaf Hering wrote:
> > Its certainly a nice thing, but all this mouse button emulation stuff
> > should be handled in userland. Its just the question how and where.
>Any pointer about how it could be done?
Well, all this button emulation stuff currently is a hack that should go
away, so Olaf is right here. Colin's patch itself is unacceptable to the
kernel people, so it would be a benh-tree only solution at best.
But since there is now the possibility to "grab" (input_grab_device()) away
input devices from the input handler chain, one could write a input device
kernel module that grabs keyboard and 1/2-button mice devices, massages the
events and gives them back to the input layer via input_event(). I guess
this is the only in-kernel solution acceptable to the kernel people.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev