summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-18 15:44:36 +0000
committerGitHub <noreply@github.com>2023-02-18 15:44:36 +0000
commitf587a0c548d966bd4381236ed726f5ba733b67e2 (patch)
tree9409afc92e9f90b93243684a234472737d36b678 /quantum/process_keycode
parentc9cee5accabe5e9a52ed89b1f276d0b7798ef937 (diff)
Align sequencer keycodes (#19875)
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_sequencer.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/quantum/process_keycode/process_sequencer.c b/quantum/process_keycode/process_sequencer.c
index 334b4c0092..6391d1ba9d 100644
--- a/quantum/process_keycode/process_sequencer.c
+++ b/quantum/process_keycode/process_sequencer.c
@@ -19,39 +19,39 @@
bool process_sequencer(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
switch (keycode) {
- case SQ_ON:
+ case QK_SEQUENCER_ON:
sequencer_on();
return false;
- case SQ_OFF:
+ case QK_SEQUENCER_OFF:
sequencer_off();
return false;
- case SQ_TOG:
+ case QK_SEQUENCER_TOGGLE:
sequencer_toggle();
return false;
- case SQ_TMPD:
+ case QK_SEQUENCER_TEMPO_DOWN:
sequencer_decrease_tempo();
return false;
- case SQ_TMPU:
+ case QK_SEQUENCER_TEMPO_UP:
sequencer_increase_tempo();
return false;
- case SEQUENCER_RESOLUTION_MIN ... SEQUENCER_RESOLUTION_MAX:
- sequencer_set_resolution(keycode - SEQUENCER_RESOLUTION_MIN);
- return false;
- case SQ_RESD:
+ case QK_SEQUENCER_RESOLUTION_DOWN:
sequencer_decrease_resolution();
return false;
- case SQ_RESU:
+ case QK_SEQUENCER_RESOLUTION_UP:
sequencer_increase_resolution();
return false;
- case SQ_SALL:
+ case QK_SEQUENCER_STEPS_ALL:
sequencer_set_all_steps_on();
return false;
- case SQ_SCLR:
+ case QK_SEQUENCER_STEPS_CLEAR:
sequencer_set_all_steps_off();
return false;
case SEQUENCER_STEP_MIN ... SEQUENCER_STEP_MAX:
sequencer_toggle_step(keycode - SEQUENCER_STEP_MIN);
return false;
+ case SEQUENCER_RESOLUTION_MIN ... SEQUENCER_RESOLUTION_MAX:
+ sequencer_set_resolution(keycode - SEQUENCER_RESOLUTION_MIN);
+ return false;
case SEQUENCER_TRACK_MIN ... SEQUENCER_TRACK_MAX:
sequencer_toggle_single_active_track(keycode - SEQUENCER_TRACK_MIN);
return false;