diff options
author | Bad Diode <bd@badd10de.dev> | 2024-01-15 16:06:05 +0100 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-01-15 16:06:05 +0100 |
commit | f6efcdd98b32f1cd0d5a4a52abb333437c04b44f (patch) | |
tree | f4542a21ceb080af21b684250650368de7fc9e3e /src/main.c | |
parent | 65089bc6ca9e31878afd583e133cb376ef03f268 (diff) | |
download | stepper-f6efcdd98b32f1cd0d5a4a52abb333437c04b44f.tar.gz stepper-f6efcdd98b32f1cd0d5a4a52abb333437c04b44f.zip |
[WIP] Add decay control and attack/decay params on ch3
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -16,6 +16,7 @@ WITH REGARD TO THIS SOFTWARE. | |||
16 | // + Look back again at the emulator issues... (I give up) | 16 | // + Look back again at the emulator issues... (I give up) |
17 | // + Sync via MIDI with the Analogue cables. | 17 | // + Sync via MIDI with the Analogue cables. |
18 | // + Fix bank switching behaviour (bug) | 18 | // + Fix bank switching behaviour (bug) |
19 | // + Fix bug: Clipboard doesn't copy probability/pan? maybe others? | ||
19 | // + Add more sync options | 20 | // + Add more sync options |
20 | // + When switching sync, play status acts wonky (bug) | 21 | // + When switching sync, play status acts wonky (bug) |
21 | // + Channel params should show if there are some already on all triggers and | 22 | // + Channel params should show if there are some already on all triggers and |
@@ -165,6 +166,20 @@ render_settings(void) { | |||
165 | 166 | ||
166 | void | 167 | void |
167 | render(void) { | 168 | render(void) { |
169 | // NOTE: Debug key input | ||
170 | // PROF(screen_fill(COL_BG), clear_cycles); | ||
171 | // txt_printf("UP: %d\n", ctrl.key_up); | ||
172 | // txt_printf("DOWN: %d\n", ctrl.key_down); | ||
173 | // txt_printf("LEFT: %d\n", ctrl.key_left); | ||
174 | // txt_printf("RIGHT: %d\n", ctrl.key_right); | ||
175 | // txt_printf("A: %d\n", ctrl.key_a); | ||
176 | // txt_printf("B: %d\n", ctrl.key_b); | ||
177 | // txt_printf("L: %d\n", ctrl.key_l); | ||
178 | // txt_printf("R: %d\n", ctrl.key_r); | ||
179 | // txt_printf("SEL: %d\n", ctrl.key_select); | ||
180 | // txt_printf("START: %d\n", ctrl.key_start); | ||
181 | // txt_render(); | ||
182 | // txt_clear(); | ||
168 | if (clear_screen) { | 183 | if (clear_screen) { |
169 | PROF(screen_fill(COL_BG), clear_cycles); | 184 | PROF(screen_fill(COL_BG), clear_cycles); |
170 | clear_screen = false; | 185 | clear_screen = false; |