KeyCodes to Windows virtual key
codes and WebKit key identifiers.
For why there is a need to map to Windows virtual key codes and WebKit
key identifiers, see Source/WebCore/platform/PlatformKeyboardEvent.h,
Source/WebKit/chromium/public/WebInputEvent.h
(WebKeyboardEvent::windowsKeyCode and WebKeyboardEvent::nativeKeyCode),
and Source/WebCore/platform/chromium/KeyboardCodes.h.
| Modifier and Type | Class and Description |
|---|---|
| public static class | KeyCodeMap.
The information associated with a |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Map. | |
| private static Map. | |
| public static KeyCodeMap. |
| MAP | back to summary |
|---|---|
| private static final Map<KeyCode, KeyCodeMap. | |
| KeyCodeMap | back to summary |
|---|---|
| public KeyCodeMap() | |
| entry | back to summary |
|---|---|
| private static Map. | |
| entry | back to summary |
|---|---|
| private static Map. | |
| lookup | back to summary |
|---|---|
| public static KeyCodeMap. Returns an | |
KeyCode.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int |
| keyIdentifier | back to summary |
|---|---|
| private final String keyIdentifier | |
| windowsVirtualKeyCode | back to summary |
|---|---|
| private final int windowsVirtualKeyCode | |
| Entry | back to summary |
|---|---|
| private Entry(int windowsVirtualKeyCode, String keyIdentifier) | |
| getKeyIdentifier | back to summary |
|---|---|
| public String getKeyIdentifier() | |
| getWindowsVirtualKeyCode | back to summary |
|---|---|
| public int getWindowsVirtualKeyCode() | |