Re: Writing a USB device driver for a trackball
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 22:14:56 +0300
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.
.
- References:
- Writing a USB device driver for a trackball
- From: infinitisound
- Writing a USB device driver for a trackball
- Prev by Date: Writing a USB device driver for a trackball
- Next by Date: EvtWmiInstanceExecuteMethod OutBufferSize problem
- Previous by thread: Writing a USB device driver for a trackball
- Next by thread: EvtWmiInstanceExecuteMethod OutBufferSize problem
- Index(es):
Relevant Pages
|