Archive: Key Support, Keyboard Scan Codes, and Windows
Updated: April 15, 2004
On This Page
Scan Codes for Keyboard Power Switches
The following defines the correct scan codes for keyboard power switches for OnNow hardware:
The Set 2 break codes also need the 0xE0 prefix, otherwise the system will see the new key going down but see some different key coming up.
Key Support for Microsoft Windows Operating Systems and Applications
Keyboard Scan Code Specification
The Keyboard Scan Code Specification details the PS/2 Scan Codes and USB Usage Tables that are validated for compliance to the WHQL testing standard. This document details the alternative make and break PS/2 scan code and USB code response for the Microsoft Windows Logo Key Application Keys and Advanced Configuration and Power Interface (ACPI) power controls.
USB HID to PS/2 Translation Table
The USB HID to PS/2 Scan Code Translation Table provides a mapping from the HID keyboard/multimedia usages to PS/2.
Download "USB HID to PS/2 Scan Code Translation Table" in PDF format