summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorGabriel Young <gabeplaysdrums@live.com>2017-02-25 19:37:33 -0800
committerGabriel Young <gabeplaysdrums@live.com>2017-02-25 19:37:33 -0800
commitea14ed122fb5c1b3be5f5d6edda9b39b151692e5 (patch)
tree8b5e1ca50aacbbbcb92adc5e617b71030c1523e9 /quantum/process_keycode
parent1000799d1ef594bf9f48076986ec300ef9e536db (diff)
downloadqmk_firmware-ea14ed122fb5c1b3be5f5d6edda9b39b151692e5.tar.gz
qmk_firmware-ea14ed122fb5c1b3be5f5d6edda9b39b151692e5.zip
Add basic layer to sample MIDI keycap
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_audio.c2
-rw-r--r--quantum/process_keycode/process_music.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_audio.c b/quantum/process_keycode/process_audio.c
index 5b5da546ea..d45242c9e0 100644
--- a/quantum/process_keycode/process_audio.c
+++ b/quantum/process_keycode/process_audio.c
@@ -28,7 +28,7 @@ bool process_audio(uint16_t keycode, keyrecord_t *record) {
{
audio_on();
}
- return false;
+ return false;
}
if (keycode == MUV_IN && record->event.pressed) {
diff --git a/quantum/process_keycode/process_music.c b/quantum/process_keycode/process_music.c
index a1e270df17..43bcf973e9 100644
--- a/quantum/process_keycode/process_music.c
+++ b/quantum/process_keycode/process_music.c
@@ -142,7 +142,8 @@ bool process_music(uint16_t keycode, keyrecord_t *record) {
if (keycode < 0xFF) // ignores all normal keycodes, but lets RAISE, LOWER, etc through
return false;
}
- return true;
+
+ return true;
}
bool is_music_on(void) {