-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathISO-9995-template.py
More file actions
147 lines (105 loc) · 1.08 KB
/
ISO-9995-template.py
File metadata and controls
147 lines (105 loc) · 1.08 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# -*- coding:utf-8 -*-
import unicodedata
import codecs
utf_8_file =codecs.open('../data/UTF-8_file.txt', encoding='utf-8')
#QWERTY Keyboard in ISO 9995
# Normal State
99e =
99d =
99c =
99b =
99a =
00e =
00d =
00c =
00b =
00a =
01e =
01d =
01c =
01b =
01a =
02e =
02d =
02c =
02b =
02a =
03e =
03d =
03c =
03b =
03a =
04e =
04d =
04c =
04b =
04a =
05e =
05d =
05c =
05b =
05a =
06e =
06d =
06c =
06b =
06a =
07e =
07d =
07c =
07b =
07a =
08e =
08d =
08c =
08b =
08a =
09e =
09d =
09c =
09b =
09a =
10e =
10d =
10c =
10b =
10a =
11e =
11d =
11c =
11b =
11a =
12e =
12d =
12c =
12b =
12a =
13e =
13d =
13c =
13b =
13a =
14e =
14d =
14c =
14b =
14a =
# Shift State
# Ctl State
# Alt State
# Shift + Ctl State
# Shift + Alt State
# Shift + Meta State
# Ctl + Alt State
# Dead Key 1 State
# Dead Key 2 State
# Dead Key 3 State
# Dead Key 4 State
# Dead Key 5 State
# Dead Key 6 State
# Dead Key 7 State
# Dead Key 8 State
# Dead Key 9 State
# Meta State (meta is mac and windows key, all other arguments aside)
# Ctl + Meta State
# Alt + Meta State