mlr_tamizhil wrote: > [mod-- <http://www.google.com/search?q=writing+a+mouse+driver> --mod PN] > > Hi group.. > I'm new to this group..happy to join u all.. > I need a help to write a program.. > > I'm designing a computer mouse for children affected with spastic > paralysis...I designed the hardware part and now I have the digital data(for > cursor movement) ready..now my requirement is to write a program to read this > data into the computer and based on this data the mouse cursor has to be > moved...I'm going to connect the mouse using USB port...can anyone help me > how to go about with this task.. > > most regards, > Arivu
I'm not sure I understand what you want to do - not enough context as to what this mouse does differently but somehow it helps the disabled. Peter noted a Google search for 'writing a mouse driver' should turn up how to go about writing a driver for the mouse. Drivers are OS-specific and can be a pain to write (depends heavily on the type of driver - there are a zillion mice out there, so writing a driver should be comparatively straightforward). But let's assume you write your driver successfully. Can everything you need to do be done in the driver itself or is there some sort of automation involved such as snapping to various UI elements? Mouse drivers are generally not aware of the GUI the mouse cursor is a part of. They usually only provide button clicks, direction, and distance. The GUI is responsible for displaying the mouse cursor icon and managing its position on the display. It would be helpful to know what the target OS is and some more details. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
