From: Vojtech P. <vo...@su...> - 2002-07-23 10:58:03
|
On Tue, Jul 23, 2002 at 08:48:59PM +1000, Brad Hards wrote: > On Tue, 23 Jul 2002 20:35, Vojtech Pavlik wrote: > > On Tue, Jul 23, 2002 at 08:29:24PM +1000, Brad Hards wrote: > > > I like this. However it appears to only support a single device. Any > > > reason? > > > > It should not. For every open() of that node in /dev, you get a new input > > device created. > OK. I haven't actually tried it, but I don't see any checking of minors, and There is only one minor. > it looks like you have to use an ioctl() to create the device. That's correct - you need first to set up the device, then create it. > Clearly I need some sample code. Anyone got a test example? I don't have any at the moment, ask ar...@ca.... > I'll look at adding this to my documentation set at an appropriate time. -- Vojtech Pavlik SuSE Labs |