diff options
Diffstat (limited to 'src/globals.c')
-rw-r--r-- | src/globals.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/globals.c b/src/globals.c index 34e9bb5..8ce79d5 100644 --- a/src/globals.c +++ b/src/globals.c | |||
@@ -97,7 +97,9 @@ enum RIGHT_COL_LOC { | |||
97 | // Input handling works using a FSM. The input handler is switched to whichever | 97 | // Input handling works using a FSM. The input handler is switched to whichever |
98 | // function controls each section. For example, channel selection or trigger | 98 | // function controls each section. For example, channel selection or trigger |
99 | // selection. | 99 | // selection. |
100 | void (*input_handler)(void); | 100 | typedef void (*InputHandler)(void); |
101 | |||
102 | InputHandler input_handler; | ||
101 | 103 | ||
102 | void handle_trigger_selection(void); | 104 | void handle_trigger_selection(void); |
103 | void handle_channel_selection(void); | 105 | void handle_channel_selection(void); |
@@ -107,3 +109,7 @@ void handle_param_selection_sq2(void); | |||
107 | void handle_param_selection_wave(void); | 109 | void handle_param_selection_wave(void); |
108 | void handle_param_selection_noise(void); | 110 | void handle_param_selection_noise(void); |
109 | void handle_right_col_selection(void); | 111 | void handle_right_col_selection(void); |
112 | void handle_param_selection_ch1(void); | ||
113 | void handle_param_selection_ch2(void); | ||
114 | void handle_param_selection_ch3(void); | ||
115 | void handle_param_selection_ch4(void); | ||