[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] SV: SV: Eiffel wheel mouse
> From: Vincent Rivière [vincent.riviere@freesbee.fr]
> Sent: 2011-05-20 13:53:21 MEST
> To: mint@lists.fishpool.fi
> Subject: Re: [MiNT] SV: Eiffel wheel mouse
>
> - when EIFFEL_SUPPORT is on, try to cope with a an old VDI lacking
> support for Eiffel. As a side effet, Shift+F6 will be interpreted as a
> wheel event instead of a keystroke. This is the current behavior.
>
> This is the best we can do inside XaAES.
I think it can be done better.
1. XaAES always use only vex_wheelv.
2. If Eiffel-support is enabled in the kernel, the Eiffel scrollwheel scancodes are filtered out by the IKBD handler (like the mouse packets are done today), and XaAES's vex_wheelv-handler is called. If Eiffel-support is disabled, the Eiffel scrollwheel scancodes are still filtered out but now sent to the underlying keyboard handler so the VDI (or special driver) can pick them up.
Passing the mouse wheel scancodes down to the underlying handler is probably the best. Then you can drop Eiffel-support in the kernel, and use a TSR to implement the missing vex_wheel.
Jo Even