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

Re: [MiNT] SV: SV: Eiffel wheel mouse



Am 20.05.2011, 15:18 Uhr, schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:

Jo Even Skarstein wrote:
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.

So the kernel directly calls the AES handler ? Hmm, not clean.

Another solution: does FreeMiNT already hook the VDI trap ? If it is the case, it could override the underlying VDI's vex_wheelv() implementation, or implement it from scratch....

Another solution: maybe the wheel-keys could get a similar treatment as Alt-Cursor does now: see generate_mouse_event. But this would need some work if course, and I don't know if it is possible at all.

Vincent why did you not write:

    if (!shift && is_eiffel_mouse_key(scan))

in your patch?

-Helmut