aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-01-08 15:32:13 +0100
committerBad Diode <bd@badd10de.dev>2024-01-08 15:32:13 +0100
commitbe37f274be067e92f9240112b7a047b8ef9e09b0 (patch)
treefb5a45cd6f605e607c5bd8e7e5a4127b95230976 /src/main.c
parent2eb3cfba2bdd569ffeaf94e6e29faac9a83b5b77 (diff)
downloadstepper-be37f274be067e92f9240112b7a047b8ef9e09b0.tar.gz
stepper-be37f274be067e92f9240112b7a047b8ef9e09b0.zip
Add input retriggering with configurable rate and offset
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1562565..6b7619f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,7 +24,7 @@ WITH REGARD TO THIS SOFTWARE.
24// + Fix scale being active for noise channel (makes no sense) 24// + Fix scale being active for noise channel (makes no sense)
25// + Save scale on metadata 25// + Save scale on metadata
26// + Allow using B + dpad to nudge trigs. This will potentially mean switching 26// + Allow using B + dpad to nudge trigs. This will potentially mean switching
27// - Hold L/R retriggers at short intervals? 27// + Hold L/R retriggers at short intervals?
28// to key release to enable trigs. 28// to key release to enable trigs.
29// - Fix any bugs we currently have 29// - Fix any bugs we currently have
30// - Add an envelope to ch3, would need to work with a timer in order to make 30// - Add an envelope to ch3, would need to work with a timer in order to make
@@ -192,6 +192,7 @@ handle_input(void) {
192 192
193void 193void
194update(void) { 194update(void) {
195 update_controller();
195 if (next_scene != scene) { 196 if (next_scene != scene) {
196 scene = next_scene; 197 scene = next_scene;
197 clear_screen = true; 198 clear_screen = true;