Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trackballs



Hi David,

Obviously this post has nothing to do with me, but is there any sample code that shows how to gain access to a device through the HID manager, including what Rob Yopez wrote about. I remember looking a little while ago and I don't recall finding anything.

Thanks.

-- John


First of all, trackballs are relative devices (they return delta coordinates).

It should be possible, but this is not a common request/application. You may want to contact Apple's DTS for help with the project.

I think you will need to write a kext that either works with your specific trackballs in boot protocol, or somehow supplies some different descriptors (such as a HID report descriptor), so you can use the HID Manger to access the data from the device, but not treat the data as input for the cursor.

Now it might be possible to gain exclusive access to the device through the HID manager, and if so, that would be the most straightforward approach -- you may want to investigate this on your own, and if you can't do it, then follow the approaches listed above.

Regards,

David Ferguson
USB Software Team
Apple Computer

_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >Trackballs (From: "John Wood" <email@hidden>)
 >Re: Trackballs (From: David Ferguson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.