This document http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/intro/chapter_1_section_1.html#/ /apple_ref/doc/uid/TP40000970-CH202-DontLinkElementID_10
is a guide to working with HID devices. It provides some sample code for accessing and controlling HID devices. An OOC is an "on/off control". The following might also be a useful guide: http://developer.apple.com/documentation/DeviceDrivers/Conceptual/AccessingHardware/index.html#/ /apple_ref/doc/uid/TP30000376 Scott On Oct 4, 2007, at 10:58 PM, Dan Christensen wrote: > scott herzinger <[EMAIL PROTECTED]> writes: > >> I assume, but don't know for certain, that MacBook keyboards are USB >> HID devices. In that case, this document: >> >> http://www.usb.org/developers/devclass_docs/Hut1_11.pdf >> >> discusses extended HID usages, including those which can be used in >> toggling on/off controls, of which LEDs are one instance. >> >> From there, I'd go to the IOKit framework and see what APIs exist for >> playing with OOCs. IOHIDUsageTables.h contains useful constants. > > Thanks for those pointers. Unfortunately, I did a fair bit of > googling > but couldn't find anything about how to play with OOCs. The pdf you > linked to, and the .h file you mention, say to use "single button > toggle" mode, but I couldn't find anything about that, either. > > Any other suggestions? Is there a more appropriate mailing list I > should try? > > Thanks, > > Dan > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig