mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 03:21:48 +08:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
650864c27d
|
@ -60,9 +60,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
switch (keycode) {
|
||||
case MIDI_CC80:
|
||||
if (record->event.pressed) {
|
||||
midi_send_cc(&midi_device, midi_config.channel, 80, ON);
|
||||
midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_ON);
|
||||
} else {
|
||||
midi_send_cc(&midi_device, midi_config.channel, 80, OFF);
|
||||
midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_OFF);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue