From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E4iU8-0000EG-Ar for mharc-grub-devel@gnu.org; Mon, 15 Aug 2005 13:10:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E4iU3-0000AY-2V for grub-devel@gnu.org; Mon, 15 Aug 2005 13:10:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E4iTu-00005t-IA for grub-devel@gnu.org; Mon, 15 Aug 2005 13:10:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4iTu-0008Sb-2t for grub-devel@gnu.org; Mon, 15 Aug 2005 13:10:38 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E4iba-0007L1-Bg for grub-devel@gnu.org; Mon, 15 Aug 2005 13:18:34 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id F2AB48935 for ; Mon, 15 Aug 2005 19:02:42 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 14903-01 for ; Mon, 15 Aug 2005 19:02:40 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 6FFF0873F for ; Mon, 15 Aug 2005 19:02:40 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 3A576C047 for ; Mon, 15 Aug 2005 19:02:40 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <42FF3097.7030904@nic.fi> <42FF6709.40300@nic.fi> <42FF75B0.8060805@gmail.com> <200508142125.56935.okuji@enbug.org> <4300B36B.2000602@yahoo.fr> <4300BD9E.9030708@gmail.com> From: Marco Gerards Date: Mon, 15 Aug 2005 19:02:46 +0200 In-Reply-To: <4300BD9E.9030708@gmail.com> (Vladimir Serbinenko's message of "Mon, 15 Aug 2005 18:06:54 +0200") Message-ID: <878xz3yvyh.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: vesafb terminal for testing. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2005 17:10:48 -0000 Vladimir Serbinenko 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