aboutsummaryrefslogtreecommitdiffstats
path: root/src/globals.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-08-22 11:30:47 +0200
committerBad Diode <bd@badd10de.dev>2023-08-22 11:30:47 +0200
commit8fc5cc7f53ea3874bae5389f489814869d2abd04 (patch)
tree9d01ef11a0618a6377d07058c2cd704562827bb7 /src/globals.c
parentc888455af3ea5b9e8d2087a57df104c14ffac09e (diff)
downloadstepper-8fc5cc7f53ea3874bae5389f489814869d2abd04.tar.gz
stepper-8fc5cc7f53ea3874bae5389f489814869d2abd04.zip
Update right column UI and cursor management
Diffstat (limited to 'src/globals.c')
-rw-r--r--src/globals.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/globals.c b/src/globals.c
index e4d1f13..23012c8 100644
--- a/src/globals.c
+++ b/src/globals.c
@@ -105,14 +105,18 @@ bool clear_screen = true;
105#define SEQ_N_CHANNELS 4 105#define SEQ_N_CHANNELS 4
106 106
107enum RIGHT_COL_LOC { 107enum RIGHT_COL_LOC {
108 R_COL_BPM = 0, 108 R_COL_BANK_A = 0,
109 R_COL_PLAY = 1, 109 R_COL_BANK_B = 1,
110 R_COL_STOP = 2, 110 R_COL_BANK_C = 2,
111 R_COL_SETTINGS = 3, 111 R_COL_BANK_D = 3,
112 R_COL_BANK_D = 4, 112 R_COL_BANK_E = 4,
113 R_COL_BANK_C = 5, 113 R_COL_BANK_F = 5,
114 R_COL_BANK_B = 6, 114 R_COL_SCALE = 6,
115 R_COL_BANK_A = 7, 115 R_COL_BPM = 7,
116 R_COL_SETTINGS = 8,
117 R_COL_PLAY = 9,
118 R_COL_STOP = 10,
119 R_COL_END,
116}; 120};
117 121
118// Input handling works using a FSM. The input handler is switched to whichever 122// Input handling works using a FSM. The input handler is switched to whichever