On Wed, Apr 18, 2001 at 11:30:39PM -0700, Greg KH wrote:
>
> Comments about the driver. If you do all of the device structure
> initialization at probe() time, and hook your device to the *dev passed
> to probe(), your driver will be able to handle more than just one device
> at a time (currently you do the initialization in the __init function.)
Okay, I'll look into doing that. Thanks a lot.
> And tiny nit, but you might want to read the kernel coding style :)
Yeah, I was going to look into that when I did the other clean up
I have to do.
> But looks very nice, good job. Can this device hook into /dev/mice?
The device outputs scanlines of detected reflections, so there's
some non-trivial code you have to write to get it to work like a
mouse. When I started, I considered this and thought it best to
let someone use the driver to write an Xinput module or gpm hook
to get input from it.
Ted
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel