PDA

View Full Version : Gaining sole access to a HID device


bensuffolk
2006.06.02, 06:41 AM
HI,

Although this is not actually for a game I figured its more related to a game development question that anything else, so I hop you don't mind me asking here.

I wish to use a trackball in my application. When I connect it (via usb) the system uses as a second mouse, moving the pointer, using the buttons, the wheel scrolls windows etc etc.

I want to disable this action so that this device (at least while my application is running, but if it was always disabled than I guess thats not that big a deal either) can be read by me (I have found Apples HID Explorer application, and that looks like a good way to read the data from the trackball itself).

Does anybody know how to do this / done it before? I have found the HID documentation to be very lacking.

Much appreciate any suitable answers, or hints in the right direction.

Regards

Ben