nanogui: Input device for nanogui
Subject:
RE: Input device for nanogui
From:
Greg Haerr ####@####.####
Date:
11 Jun 1999 21:57:46 -0000
Message-Id: <01BEB421.A433A100.greg@censoft.com>
On Friday, June 11, 1999 3:37 PM, Lajber Zoltan ####@####.#### wrote:
: Greg,
:
: How can I write a device driver for nanogui?
:
: I have a touch screen. It has a normal serial line connection, and can act
: as one or two button mouse with apropriate software.
:
: Is it more straightforward to made a gpm driver?
:
Look at the nano/server/drivers directory. There are a number of device drivers
there for the screen, mouse, and keyboard. My naming scheme was to
use scr_xxx.c for screen, mou_xxx for mouse, and kbd_xxx for keyboard.
Alex didn't like the naming scheme and changed it, I don't know what he did.
The mou_gpm.c file is the gpm-based mouse driver. I have written a bare-hardware
serial driver for MS and PC mice, which you can have if you want.
Otherwise, look at these files, and it should be quick to implement
a driver....
gh