diff options
author | Bad Diode <bd@badd10de.dev> | 2023-04-24 14:49:38 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2023-04-24 14:49:38 +0200 |
commit | 7399fd06ad3e9682a619550c6de50a565ccc3a25 (patch) | |
tree | 23a36f4c00e4ac0a3b5154ad62067912d79309d3 /src/globals.c | |
parent | b83958d07ec0e4dcc185f40928a84d1bcdd48675 (diff) | |
download | stepper-7399fd06ad3e9682a619550c6de50a565ccc3a25.tar.gz stepper-7399fd06ad3e9682a619550c6de50a565ccc3a25.zip |
Prepare for per-channel param adjustment
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); | ||