turorial/documents for laser mouse drivers

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
bill_dozer

turorial/documents for laser mouse drivers

Post by bill_dozer »

High could someone kindly direct me to documents abut writing drivers for laser mice?
JoeKayzA

Re:turorial/documents for laser mouse drivers

Post by JoeKayzA »

bill_dozer wrote: High could someone kindly direct me to documents abut writing drivers for laser mice?
Are you sure these mice use a different protocol than the standard USB HID mouse? I had a look at the website and found that they deliver a piece of configuration software to set the mouse resolution, but they mentioned that the device also works without this software...

Anyway, since Logitech seems to be the first/only vendor for these devices, I doubt that you'd find open documentation for developing drivers. :\

cheers Joe
bill_dozer

Re:turorial/documents for laser mouse drivers

Post by bill_dozer »

Im not sure what a USB HID mouse is well...atleast the HID part.
I a;so should have have a driver already for a ps/2 mouse.
Also logitech is nto the only manufacturer, i have microsoft and RetailPlus branded mice that are laser,
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:turorial/documents for laser mouse drivers

Post by Brendan »

Hi,
bill_dozer wrote:Im not sure what a USB HID mouse is well...atleast the HID part.
For USB devices there's a set of additional standards, one for each "device class", which allows the same generic device driver to work with all devices in that device class.

One of these standards is the "HID" (or Human Interface Device) standard, which is meant to allow all USB keyboard and USB mouse devices to work with a single generic device driver, rather than having hundreds of different device drivers for each.

For more information, try: http://www.usb.org/developers/hidpage/

For the USB HID standard, try: http://www.usb.org/developers/devclass_docs/HID1_11.pdf

Of course you'd need to get the USB host controller driver working first...


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:turorial/documents for laser mouse drivers

Post by Pype.Clicker »

i would expect USB "laser" mice (is it the intelli-eye stuff or something new i'm not aware of) to behave just like another USB mouse except it may have commands that enable the user to say "fall in sleep mode after X ms inactivity" or things alike.

Note that, as for any other USB mouse, the BIOS will nicely emulate a PS/2 mouse unless you desactivate the emulation.
Post Reply