aboutsummaryrefslogtreecommitdiffstats
path: root/src/globals.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-04-24 14:49:38 +0200
committerBad Diode <bd@badd10de.dev>2023-04-24 14:49:38 +0200
commit7399fd06ad3e9682a619550c6de50a565ccc3a25 (patch)
tree23a36f4c00e4ac0a3b5154ad62067912d79309d3 /src/globals.c
parentb83958d07ec0e4dcc185f40928a84d1bcdd48675 (diff)
downloadstepper-7399fd06ad3e9682a619550c6de50a565ccc3a25.tar.gz
stepper-7399fd06ad3e9682a619550c6de50a565ccc3a25.zip
Prepare for per-channel param adjustment
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c8
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.
100void (*input_handler)(void); 100typedef void (*InputHandler)(void);
101
102InputHandler input_handler;
101 103
102void handle_trigger_selection(void); 104void handle_trigger_selection(void);
103void handle_channel_selection(void); 105void handle_channel_selection(void);
@@ -107,3 +109,7 @@ void handle_param_selection_sq2(void);
107void handle_param_selection_wave(void); 109void handle_param_selection_wave(void);
108void handle_param_selection_noise(void); 110void handle_param_selection_noise(void);
109void handle_right_col_selection(void); 111void handle_right_col_selection(void);
112void handle_param_selection_ch1(void);
113void handle_param_selection_ch2(void);
114void handle_param_selection_ch3(void);
115void handle_param_selection_ch4(void);