-
Notifications
You must be signed in to change notification settings - Fork 2
/
max_falcon8_test.textpb
110 lines (92 loc) · 1.83 KB
/
max_falcon8_test.textpb
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
# Looking at the top of the Max Falcon-8:
#
# | 1 | 2 | 3 | 4 |
# |---|---|---|---|
# | 5 | 6 | 7 | 8 |
#
# For full list of possible `key` values, see ../proto/hid.proto.
# For full list of possible `modifier` values, see ../proto/firmware_keys.proto.
button1 {
# key: KEY_a_A
# Equivalently:
string: 'a'
}
button2 {
# key: KEY_b_B
string: 'b'
}
button3 {
program {
# Working:
#program_set {
#modifier: LAlt
#milliseconds_between_keys: 2
#keys: [KEY_Tab]
#}
# Working: 'HELO'
#program_set {
#modifier: LShi
#keys: [KEY_h_H, KEY_e_E, KEY_l_L, KEY_l_L, KEY_o_O]
#}
# Working: ctrl-alt-delete
#program_set {
#modifier: RCtr_RAlt
#keys: [KEY_DeleteForward]
#}
# Working: ctrl-d
program_set {
modifier: LCtr
keys: [KEY_d_D]
}
}
}
button4 {
# Types "HELLO friend"
program {
program_set {
modifier: LShi
milliseconds_between_keys: 3 # Between 0 and 30 milliseconds.
keys: [KEY_h_H]
}
program_set {
modifier: LShi
milliseconds_between_keys: 3
keys: [KEY_e_E]
}
program_set {
modifier: LShi
milliseconds_between_keys: 3
keys: [KEY_l_L]
}
program_set {
modifier: LShi
milliseconds_between_keys: 3
keys: [KEY_l_L]
}
program_set {
modifier: LShi
milliseconds_between_keys: 3
keys: [KEY_o_O]
}
program_set {
milliseconds_between_keys: 3
keys: [KEY_Spacebar]
}
program_set {
milliseconds_between_keys: 3 # Between 0 and 30 milliseconds.
keys: [KEY_f_F, KEY_r_R, KEY_i_I, KEY_e_E, KEY_n_N, KEY_d_D]
}
}
}
button5 {
string: 'e'
}
button6 {
string: 'f'
}
button7 {
key: Vol_Up # Vol_Up also works.
}
button8 {
key: Vol_Down # Alternatively, KEY_VolumeDown works.
}