Fields | This Package | All Packages

Key Class

Defines constants to use for processing keyboard input.

package com.ms.wfc.ui

public class Key

Remarks

Keyboard input is identified by a key value. A key value is an integer containing the key code of the key that was pressed as well as information about any modifier keys (SHIFT, CTRL, and ALT) that were pressed at the same time. The low-order word of a key value contains the key code (which is the same as a Windows virtual key code). The high-order word of a key value contains modifier bits for the SHIFT, CTRL, and ALT keys.