Normalise MIDI keycodes (#18972)
* `MI_ON`, `MI_OFF`, `MI_TOG` -> `MI_TOGG` * `MI_CH*`, `MI_CHU` -> `MI_CHNU`, `MI_CHD` -> `MI_CHND` * `MI_VEL_*` -> `MI_VL*`, `MI_VELU`, `MI_VELD` * `MI_TRNS_*` -> `MI_TR*`, `MI_TRNSU` -> `MI_TRSU`, `MI_TRNSD` -> `MI_TRSD` * `MI_OCT_*` -> `MI_OC*`, `MI_OCTU`, `MI_OCTD` * Misc controls * Note keycodes * Add legacy keycodes * Regenerate keycodes * Typo
This commit is contained in:
parent
442e7653cc
commit
8b658dcc9a
39 changed files with 1799 additions and 1154 deletions
|
@ -193,16 +193,16 @@
|
|||
#define QK_SWAP_HANDS_GET_TAP_KEYCODE(kc) ((kc)&0xFF)
|
||||
|
||||
// MIDI aliases
|
||||
#define MIDI_TONE_MIN MI_C
|
||||
#define MIDI_TONE_MAX MI_B_5
|
||||
#define MIDI_OCTAVE_MIN MI_OCT_N2
|
||||
#define MIDI_OCTAVE_MAX MI_OCT_7
|
||||
#define MIDI_TRANSPOSE_MIN MI_TRNS_N6
|
||||
#define MIDI_TRANSPOSE_MAX MI_TRNS_6
|
||||
#define MIDI_VELOCITY_MIN MI_VEL_0
|
||||
#define MIDI_VELOCITY_MAX MI_VEL_10
|
||||
#define MIDI_CHANNEL_MIN MI_CH1
|
||||
#define MIDI_CHANNEL_MAX MI_CH16
|
||||
#define MIDI_TONE_MIN QK_MIDI_NOTE_C_0
|
||||
#define MIDI_TONE_MAX QK_MIDI_NOTE_B_5
|
||||
#define MIDI_OCTAVE_MIN QK_MIDI_OCTAVE_N2
|
||||
#define MIDI_OCTAVE_MAX QK_MIDI_OCTAVE_7
|
||||
#define MIDI_TRANSPOSE_MIN QK_MIDI_TRANSPOSE_N6
|
||||
#define MIDI_TRANSPOSE_MAX QK_MIDI_TRANSPOSE_6
|
||||
#define MIDI_VELOCITY_MIN QK_MIDI_VELOCITY_0
|
||||
#define MIDI_VELOCITY_MAX QK_MIDI_VELOCITY_10
|
||||
#define MIDI_CHANNEL_MIN QK_MIDI_CHANNEL_1
|
||||
#define MIDI_CHANNEL_MAX QK_MIDI_CHANNEL_16
|
||||
|
||||
// TODO: somehow migrate sequencer to DD?
|
||||
#include "sequencer.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue