Line data Source code
1 3 : PPG_Token leader_token
2 : =
3 3 : ppg_token_set_flags(
4 : ppg_chord(
5 : ppg_cs_layer_0,
6 3 : PPG_ACTION_NOOP,
7 3 : PPG_INPUTS(
8 : PPG_CS_CHAR('a'),
9 : PPG_CS_CHAR('b'),
10 : PPG_CS_CHAR('c')
11 : )
12 : ),
13 :
14 : // Without the following the chord would consume all consequent
15 : // releases and re-pressing of keys involved
16 : //
17 : PPG_Chord_Flags_Disallow_Input_Deactivation
18 : );
19 :
20 3 : ppg_alphabetic_leader_sequences(
21 : ppg_cs_layer_0, // layer
22 : leader_token, // The leader input, used zero if no leader key is
23 : // necessary
24 : 3,
25 3 : (PPG_Leader_Functions) {
26 : .retreive_string = ppg_cs_retreive_string,
27 : .retreive_action = ppg_cs_retreive_action,
28 : .input_from_char = ppg_cs_input_from_alphabetic_character
29 : },
30 : true // Allow fallback, i.e. only require input until a sequence
31 : // can be uniquely identified
32 : );
33 :
34 3 : ppg_alphabetic_leader_sequences(
35 : ppg_cs_layer_0, // layer
36 : NULL, // The leader input, used zero if no leader key is
37 : // necessary
38 : 3,
39 3 : (PPG_Leader_Functions) {
40 : .retreive_string = ppg_cs_retreive_string,
41 : .retreive_action = ppg_cs_retreive_action,
42 : .input_from_char = ppg_cs_input_from_alphabetic_character
43 : },
44 : true // Allow fallback, i.e. only require input until a sequence
45 : // can be uniquely identified
46 : );
|