|
| ||||||
|
Search Microsoft.com for: |
![]() |
![]() |
Key Support, Keyboard Scan Codes, and WindowsUpdated: December 4, 2001
![]() On This Page
Scan Codes for Keyboard Power SwitchesThe following defines the correct scan codes for keyboard power switches for OnNow hardware: Power event Set1: Make = E0, 5E Break = E0, DE Set2: Make = E0, 37 Break = E0, F0, 37 Sleep event Set1: Make = E0, 5F Break = E0, DF Set2: Make = E0, 3F Break = E0, F0, 3F Wake event Set1: Make = E0, 63 Break = E0, E3 Set2: Make = E0, 5E Break = E0, F0, 5E 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
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 TableThe USB HID to PS/2 Scan Code Translation Table provides a mapping from the HID keyboard/multimedia usages to PS/2.
|
![]() |