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.
ADB Key Spy
| Last Revision: | Version 1.0, 2003-01-14 First Version |
| Build Requirements: | |
| Runtime Requirements: | Carbon |
This package provides a replacement for GetKeys by maintaining a key map reflecting the state of each keyboard attached to the Mac via ADB. The acute intent of the package was to solve a problem a game developer was having with the Adjustable Keyboard, which appears on ADB as two keyboards. The ROM keyboard driver has one map and clears it whenever there is a key state change on a "new" keyboard. Consequently, it was impossible for said developer to allow users to steer on the numeric key pad and fire with the space bar. Requires: System 7.0 Keywords: ADB, GetKeys, keyboard map, Apple Adjustable Keyboard
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14