mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 06:54:08 +00:00
Deploying to gh-pages from @ qmk/qmk_firmware@a7febfbb62 🚀
This commit is contained in:
parent
4756d797a5
commit
71cbe16586
@ -60,9 +60,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case MIDI_CC80:
|
case MIDI_CC80:
|
||||||
if (record->event.pressed) {
|
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 {
|
} 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user