From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49C34C55.5070607@orcasystems.com> Date: Fri, 20 Mar 2009 00:57:09 -0700 From: James Tomaschke User-Agent: Thunderbird 2.0.0.19 (X11/20090121) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <8348d963df0684d4a7f97c1ed06508d6@proxima.alt.za> In-Reply-To: <8348d963df0684d4a7f97c1ed06508d6@proxima.alt.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Raw Input Driver Topicbox-Message-UUID: bfbf4716-ead4-11e9-9d60-3106f5b1d025 I am also looking for advice on what people might like for the interface, right now I am using: struct InputEvent { int msec; unsigned short type; unsigned short code; int value; }; type, keyboard or mouse, keyboard code, key down or key up keyboard value, scancode mouse code, buttons, dx or dy mouse value, button bits, dx or dy values lucio@proxima.alt.za wrote: >> I have created a very simple input driver that interleaves keyboard and >> mouse events for an "interactive" program I am working on. I have tried >> to keep it as simple as possible, just a single callback in pc/kbd.c and >> port/devmouse.c. > > I've been thinking along the same lines, I'd like to see more > seamlessness between mouse and keyboard. > > ++L > > >