Re: Writing a USB device driver for a trackball

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Lower filter for the trackball device which will spoil some HID descriptors
to make the device no more a mouse + register a special device interface for
it.

Then access this HID device from user mode HID API (open it by using a
device interface).

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com

<infinitisound@xxxxxxxxx> wrote in message
news:2e3dc506-b00a-4b81-9b3b-80ccc5bad74d@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a mouse and a trackball on my pc. I would like the mouse to
act as normal mouse that controls the cursor. I would like the
trackball to act as a separate device which does not act like a
mouse. Right now, when I plug both in, I get two mice.

The trackball uses HID-compliant mouse driver in the device manager.
I was hoping to write a new driver and install it instead of the HID-
compliant driver. I could then use the new driver in my application
to simply read delta x and y from the trackball.

Could anyone give me some ideas on this? Is there any similar source
code that I could modify?
I open to other methods too. I examined using Raw input but ran into
so roadblocks.

.



Relevant Pages

  • Re: Writing a USB device driver for a trackball
    ... a lower filter on the usb devnode might do this, but putting a lower filter on the HID enumerated part will not do what you want b/c mouhid is already loaded by then. ... changinge the usage page in the hid report would probably be enough to prevent the std mouse stack from loading which will allow you to open the trackball as a normal HID device ... I was hoping to write a new driver and install it instead of the HID- ...
    (microsoft.public.development.device.drivers)
  • Re: Strange problem
    ... installed XP Pro ... | SP1, then updated to SP2. ... latest driver updates ... | cordless trackball, SB Live soundcard. ...
    (microsoft.public.windowsxp.general)
  • Strange problem
    ... locking up the computer forcing a reboot all the time. ... I had all the latest driver updates ... I loose my trackball and have to replug the USB ...
    (microsoft.public.windowsxp.general)
  • Kensington Expert Mouse (serial interface) Driver
    ... for my Kensington Expert Mouse - a 4-button trackball that uses either ... Kensington's driver, which is different than what gets sent when it ... Kensington's protocol. ... sending one of these trackballs for monitoring. ...
    (comp.os.linux.development.system)
  • Re: Driver for Microsoft Trackball Explorer
    ... > I am looking for the mouse driver for MS Trackball Explorer. ... Do you want to use it on the USB port or PS2? ... Terrible in Linux where the middle ... Marble Plus Trackball but the main button finally wore out (I ...
    (linux.redhat)