Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“ADB_Key_Spy.zip”, 44.4K)
Download Sample (“ADB_Key_Spy.dmg”, 98.7K)



Description

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

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.