[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Input device for nanogui
From: Lajber Zoltan ####@####.#### Date: 11 Jun 1999 21:42:07 -0000 Message-Id: <Pine.LNX.4.02.9906112333270.8455-100000@lajli.gau.hu> 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? Bye, -=Lajbi=-------------------------------------------------------------------- LAJBER Zoltan ####@####.#### http://jht.gau.hu/~lajbi GATE Jarmu- es Hotechnika Tanszek http://jht.gau.hu A member of HuLUG http://mlf.linux.rulez.org/mlf | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Input device for nanogui
From: Alan Cox ####@####.#### Date: 11 Jun 1999 22:23:24 -0000 Message-Id: <E10sZbY-0003fK-00@the-village.bc.nu> > 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? I would say go the GPM route, then you can use it with X11 too (or others can). Also gpm is a relatively stable item. You know if GPM dies its probably your fault, with nanogui directly you can never be sure it being new code Alan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Input device for nanogui
From: Greg Haerr ####@####.#### Date: 11 Jun 1999 22:29:48 -0000 Message-Id: <01BEB426.16FD0470.greg@censoft.com> On Friday, June 11, 1999 4:17 PM, Alan Cox ####@####.#### wrote: : > 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? : : I would say go the GPM route, then you can use it with X11 too (or others : can). Also gpm is a relatively stable item. You know if GPM dies its probably : your fault, with nanogui directly you can never be sure it being new code : The problem with the GPM route is it requires a separate process, and requires fifo's, something that isn't implemented on smaller operating systems, like elks... | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Input device for nanogui
From: Alex Holden ####@####.#### Date: 12 Jun 1999 12:43:37 -0000 Message-Id: <Pine.LNX.4.04.9906121329540.388-100000@hyperspace> On Fri, 11 Jun 1999, Greg Haerr wrote: > 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. server/mouse/common.c server/mouse/dos.c server/mouse/gpm.c I've kept the 8+3 requirement for it to unpack cleanly on an old DOS system, but used nicer names. --------------- Linux- the choice of a GNU generation. -------------- : Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham : -------------------- http://www.linuxhacker.org/ -------------------- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: Input device for nanogui
From: Alex Holden ####@####.#### Date: 12 Jun 1999 12:47:55 -0000 Message-Id: <Pine.LNX.4.04.9906121333390.388-100000@hyperspace> On Fri, 11 Jun 1999, Greg Haerr wrote: > The problem with the GPM route is it requires a separate process, and requires > fifo's, something that isn't implemented on smaller operating systems, like elks... Another thing I'm working on is a new mouse driver which is basically a much pruned version of the GII mouse driver. The code is much cleaner than GPM, but it still supports all the different mouse types that GPM supports. It uses a data table to "describe" the properties of different mice, so it's easy to add a new type to it. --------------- Linux- the choice of a GNU generation. -------------- : Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham : -------------------- http://www.linuxhacker.org/ -------------------- | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |