forked from caru/StenoFW
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathVolksboard.py
30 lines (25 loc) · 964 Bytes
/
Volksboard.py
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
boardName = 'Volksboard'
defines = []
rowPins = [10,11,12,13,14,15,16]
colPins = [0,1,2,3,4,5]
ledPin = 6
# Volksboard Steno Layout
stenoKeys = [
['Num1', 'Num2', 'Num3', 'Num4', 'Num5', 'Num6'],
['Fn1', 'S1', 'T', 'P', 'H', 'Star1'],
['Fn2', 'S2', 'K', 'W', 'R', 'Star2'],
['Num7', 'Num8', 'Num9', 'NumA', 'NumB', 'NumC'],
['Star3', '-F', '-P', '-L', '-T', '-D'],
['Star4', '-R', '-B', '-G', '-S', '-Z'],
['E', 'U', None, None, 'A', 'O'], # this reflects the wiring rather than physical layout
]
# qwerty mapping for the Volksboard
qwertyMapping = [
[' ', '1', '2', '3', '4', '5'], # note first key in each lh row is reserved for Fn
[' ','q', 'w', 'e', 'r', 't'],
[' ', 'a', 's', 'd', 'f', 'g'],
[' ', '7', '8', '9', '0', '-'], # FW and also the first key in the rh number row
['y', 'u', 'i', 'o', 'p', '['],
['h', 'j', 'k', 'l', ';', '\''],
['n', 'm', ' ', ' ', 'c', 'v'], # also wiring, not physical layout
]