grub-devel
[Top][All Lists]
Advanced

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

Re: vesafb terminal for testing.


From: Marco Gerards
Subject: Re: vesafb terminal for testing.
Date: Mon, 15 Aug 2005 19:02:46 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

Vladimir Serbinenko <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]