-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathmatrix.py
More file actions
45 lines (43 loc) · 1.29 KB
/
matrix.py
File metadata and controls
45 lines (43 loc) · 1.29 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
# coding=utf-8
matrix = [
['Esc', 'Tab', 'Space', 'Alt'],
['1', 'q', 'a', 'Shift'],
['2', 'w', 's', 'z'],
['3', 'e', 'd', 'x'],
['4', 'r', 'f', 'c'],
['5', 't', 'g', 'v'],
['phantom', 'Ctrl', 'Fn2', 'Space'],
['6', 'y', 'h', 'b'],
['7', 'u', 'j', 'n'],
['8', 'i', 'k', 'm'],
['9', 'o', 'l', 'Fn1'],
['0', 'p', 'Backspace', 'Enter']
]
fn2_layer = [
['Esc', 'Tab', 'Space', 'Alt'],
['F1', 'backslash', 'Left', 'Shift'],
['F2', 'Up', 'Down', '_'],
['F3', 'equals', 'Right', '?'],
['F4', '[', ';', ','],
['F5', ']', "'", '.'],
['phantom', 'Ctrl', 'Fn2', 'Space'],
['F6', '{', ':', '<'],
['F7', '}', '"', '>'],
['F8', '+', '\\', '~'],
['F9', 'F11', '-', 'Fn1'],
['F10', 'F12', 'Del', 'Enter']
]
fn1_layer = [
['Esc', 'Tab', 'Space', 'Command'],
['Dim', 'Home', 'phantom', 'Shift'],
['Brighten', 'phantom', 'phantom', 'phantom'],
['#', 'End', 'phantom', 'phantom'],
['phantom', 'phantom', 'phantom', 'phantom'],
['phantom', 'phantom', 'phantom', 'phantom'],
['phantom', 'Ctrl', 'Fn2', 'Space'],
['phantom', 'PgUp', 'PgDown', 'phantom'],
['Mute', 'phantom', "phantom", 'phantom'],
['VolDown', 'phantom', 'phantom', '|'],
['VolUp', 'F11', '_', 'Fn1'],
['Power', 'F12', 'Del', 'Enter']
]