diff options
author | Bad Diode <bd@badd10de.dev> | 2024-01-08 15:32:13 +0100 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-01-08 15:32:13 +0100 |
commit | be37f274be067e92f9240112b7a047b8ef9e09b0 (patch) | |
tree | fb5a45cd6f605e607c5bd8e7e5a4127b95230976 /src/main.c | |
parent | 2eb3cfba2bdd569ffeaf94e6e29faac9a83b5b77 (diff) | |
download | stepper-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 | ||
193 | void | 193 | void |
194 | update(void) { | 194 | update(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; |