Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
HID Manager Basics
Last Revision: | Version 1.0, 2003-07-10 Shows basic use of HID Manager for Mac OS X: including device discovery, queues and polling elements. |
Build Requirements: | Xcode 2.1 |
Runtime Requirements: | Mac OS X |
HID Manager Basics Sample code to accompany HID Documantation Version 1.2 10-23-2002 Version 1.2: Verified functionality on Mac OS X 10.2 & new HID Utilities Version 1.1: Verified functionality on Mac OS X 10.1. Version 1.0: Initial version shows all the functionality in HID documantation and corrects a few errors in documentation code. Also functions are slightly renamed and organization cleaned up for readability and straightforwardness. Documentation can be found on the web in the Mac OS X kernel documentation section under Accessing Hardware. ---- HID Manager Basics shows the very basic use of the HID Manager for Mac OS X. This includes device discovery, using queues and polling elements. This code is NOT designed to be production quality and serves to just support the HID documentation, with minor changes to improve interaction. Other sample code, such as the HID Utilities Source, HID Config Save and HID Explorer, are MUCH better examples of using the HID Manager in a production application environment. It is strong recommended developers look at those samples when starting to use the HID manager. The code should be built and run from Project builder and the output will be in the Run pane. The application will make little sense if the stdout window is not visible when the application is run so it is suggested it be run from Project Builder. ---- HID Manager Basics is provided as sample code and will be updated if possible for bug fixes but will not have it's functionality changed unless the HID Manager documentation changes. Any suggestions and/or bugs can be directed to the Apple bug reporter at: <http://developer.apple.com/bugreporter/index.html>
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-10