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

Re: [MiNT] SV: Eiffel wheel mouse



=?ISO-8859-1?Q?Vincent_Rivi=E8re?= wrote:

> Le 20/05/2011 11:59, Jo Even Skarstein a écrit :
> >> I get wheel-events on Shift-Fx.
> >
> > Then there's something wrong. These scancodes should never be sent to
> > the keyboard handler at all. Instead they should be filtered out
> > together with the mouse packets, and the vex_wheel vector should be
> > called.
>
> What happens currently:
> - The user presses Shift+F6
> - The kernel keyboard driver translates it to F16, as expected. (With my
> patch the keyclick is incorrectly removed, but I as said this requires
> further patching to handle the keyclicks are more appropriate places)
> - Then XaAES itself interprets the F16 keystroke as a wheel event,
> instead of relying on the VDI to handle the wheel events correctly
> through vex_wheelv(). It should not worry about Eiffel and handle F16 as
> Shift+F6 as expected.

Does the VDI handle F16 as wheel-event?

> So regarding to this issue, the kernel is OK (except the missing
> keyclick), but XaAES does too much processing on keyboard events.

I intend to test for a modifier in XaAES to decide beween S-F6 and F16. That's all I can imagine to do as long as keyboard is used to transport wheel-events.

-Helmut