You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.5 KiB
80 lines
1.5 KiB
2 years ago
|
# coding: utf-8
|
||
|
# pynput
|
||
|
# Copyright (C) 2015-2022 Moses Palmér
|
||
|
#
|
||
|
# This program is free software: you can redistribute it and/or modify it under
|
||
|
# the terms of the GNU Lesser General Public License as published by the Free
|
||
|
# Software Foundation, either version 3 of the License, or (at your option) any
|
||
|
# later version.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
||
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||
|
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||
|
# details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU Lesser General Public License
|
||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
|
||
|
# pylint: disable=C0111,C0302
|
||
|
|
||
|
SYMBOLS = {
|
||
|
0: 'a',
|
||
|
1: 's',
|
||
|
2: 'd',
|
||
|
3: 'f',
|
||
|
4: 'h',
|
||
|
5: 'g',
|
||
|
6: 'z',
|
||
|
7: 'x',
|
||
|
8: 'c',
|
||
|
9: 'v',
|
||
|
11: 'b',
|
||
|
12: 'q',
|
||
|
13: 'w',
|
||
|
14: 'e',
|
||
|
15: 'r',
|
||
|
16: 'y',
|
||
|
17: 't',
|
||
|
18: '1',
|
||
|
19: '2',
|
||
|
20: '3',
|
||
|
21: '4',
|
||
|
22: '6',
|
||
|
23: '5',
|
||
|
24: '=',
|
||
|
25: '9',
|
||
|
26: '7',
|
||
|
27: '-',
|
||
|
28: '8',
|
||
|
29: '0',
|
||
|
30: ']',
|
||
|
31: 'o',
|
||
|
32: 'u',
|
||
|
33: '[',
|
||
|
34: 'i',
|
||
|
35: 'p',
|
||
|
37: 'l',
|
||
|
38: 'j',
|
||
|
39: '\'',
|
||
|
40: 'k',
|
||
|
41: ';',
|
||
|
42: '\\',
|
||
|
43: ',',
|
||
|
44: '/',
|
||
|
45: 'n',
|
||
|
46: 'm',
|
||
|
47: '.',
|
||
|
49: ' ',
|
||
|
50: '`',
|
||
|
82: '0',
|
||
|
83: '1',
|
||
|
84: '2',
|
||
|
85: '3',
|
||
|
86: '4',
|
||
|
87: '5',
|
||
|
88: '6',
|
||
|
89: '7',
|
||
|
91: '8',
|
||
|
92: '9',
|
||
|
}
|