1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Keyboard Event Manual Test</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="key.js" ></script>
<link rel="stylesheet" type="text/css" href="key.css" />
</head>
<body>
<script language="javascript">
var KeyTable101 = [
// Code Row Type Width KeyCap Key Shift
["Backquote", 0, 0, 0, "`", "`", "~"],
["Digit1", 0, 0, 0, "1", "1", "!"],
["Digit2", 0, 0, 0, "2", "2", "@"],
["Digit3", 0, 0, 0, "3", "3", "#"],
["Digit4", 0, 0, 0, "4", "4", "$"],
["Digit5", 0, 0, 0, "5", "5", "%"],
["Digit6", 0, 0, 0, "6", "6", "^"],
["Digit7", 0, 0, 0, "7", "7", "&"],
["Digit8", 0, 0, 0, "8", "8", "*"],
["Digit9", 0, 0, 0, "9", "9", "("],
["Digit0", 0, 0, 0, "0", "0", ")"],
["Minus", 0, 0, 0, "-", "-", "_"],
["Equal", 0, 0, 0, "=", "=", "+"],
["Backspace", 0, 0, 2, "Backspace", "Backspace", "Backspace"],
["Tab", 1, 0, 1, "Tab", "Tab", "Tab"],
["KeyQ", 1, 0, 0, "Q", "q", "Q"],
["KeyW", 1, 0, 0, "W", "w", "W"],
["KeyE", 1, 0, 0, "E", "e", "E"],
["KeyR", 1, 0, 0, "R", "r", "R"],
["KeyT", 1, 0, 0, "T", "t", "T"],
["KeyY", 1, 0, 0, "Y", "y", "Y"],
["KeyU", 1, 0, 0, "U", "u", "U"],
["KeyI", 1, 0, 0, "I", "i", "I"],
["KeyO", 1, 0, 0, "O", "o", "O"],
["KeyP", 1, 0, 0, "P", "p", "P"],
["BracketLeft", 1, 0, 0, "[", "[", "{"],
["BracketRight", 1, 0, 0, "]", "]", "}"],
["Backslash", 1, 0, 1, "\\", "\\", "|"],
["CapsLock", 2, 1, 2, "CapsLock", "CapsLock", "CapsLock"],
["KeyA", 2, 0, 0, "A", "a", "A"],
["KeyS", 2, 0, 0, "S", "s", "S"],
["KeyD", 2, 0, 0, "D", "d", "D"],
["KeyF", 2, 0, 0, "F", "f", "F"],
["KeyG", 2, 0, 0, "G", "g", "G"],
["KeyH", 2, 0, 0, "H", "h", "H"],
["KeyJ", 2, 0, 0, "J", "j", "J"],
["KeyK", 2, 0, 0, "K", "k", "K"],
["KeyL", 2, 0, 0, "L", "l", "L"],
["Semicolon", 2, 0, 0, ";", ";", ":"],
["Quote", 2, 0, 0, "'", "'", "\""],
["Enter", 2, 0, 3, "Enter", "Enter", "Enter"],
["ShiftLeft", 3, 3, 3, "Shift", "Shift", "Shift"],
["KeyZ", 3, 0, 0, "Z", "z", "Z"],
["KeyX", 3, 0, 0, "X", "x", "X"],
["KeyC", 3, 0, 0, "C", "c", "C"],
["KeyV", 3, 0, 0, "V", "v", "V"],
["KeyB", 3, 0, 0, "B", "b", "B"],
["KeyN", 3, 0, 0, "N", "n", "N"],
["KeyM", 3, 0, 0, "M", "m", "M"],
["Comma", 3, 0, 0, ",", ",", "<"],
["Period", 3, 0, 0, ".", ".", ">"],
["Slash", 3, 0, 0, "/", "/", "?"],
["ShiftRight", 3, 3, 4, "Shift", "Shift", "Shift"],
["ControlLeft", 4, 3, 1, "Control", "Control", "Control"],
["MetaLeft", 4, 3, 1, "Meta", "Meta", "Meta"],
["AltLeft", 4, 3, 1, "Alt", "Alt", "Alt"],
["Space", 4, 0, 5, "Space", " ", " "],
["AltRight", 4, 3, 1, "Alt", "Alt", "Alt"],
["MetaRight", 4, 3, 1, "Meta", "Meta", "Meta"],
["ContextMenu", 4, 0, 1, "Menu", "", ""],
["ControlRight", 4, 3, 1, "Control", "Control", "Control"],
["END", 0, 2, 0, "", "", ""],
];
init("101en-us", KeyTable101);
</script>
</body>
</html>
|