Vladimir Serbinenko <[EMAIL PROTECTED]> writes:

>> -mouse handling (??)
>>
> It must not be difficult: we can just port mouse.com from FreeDos or use
> any other
> mouse implementation. But here we also need the general interface because
> there are different mouse types: PS/2, USB, serial (old PC), perhaps
> something else
> exotical. It could be something like
> register_mouse_click_callback (void (*mouse_callback) (int x, int y, int
> flags));
> remove_mouse_click_callback (void (*mouse_callback) (int x, int y, int
> flags));

In that case you expect interrupts.  The best interfaces is a function
to get X, Y and the pressed mousebuttons, AFAIK.

--
Marco



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to