aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorxyzz <[email protected]>2021-03-14 21:19:01 -0400
committerGitHub <[email protected]>2021-03-15 12:19:01 +1100
commit0779c34db8ba0bf7141712377b1db467394f940f (patch)
tree00f2239bff1bf71d300e1a65cd6ffd468040ff01 /quantum/quantum_keycodes.h
parent9e1d04fea77c4da64248e7870b915939a768c5c0 (diff)
downloadqmk_firmware-0779c34db8ba0bf7141712377b1db467394f940f.tar.gz
qmk_firmware-0779c34db8ba0bf7141712377b1db467394f940f.zip
Fix keycode mappings for via and ensure they don't change within protocol (#12130)0.12.17
* Fix keycode mappings for via and ensure they don't change within protocol * Update keycodes * Fix broken keyboards * added the missing keycodes found in via * Remove invalid keycodes Co-authored-by: David Hoelscher <[email protected]>
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 1863a79434..9f1591458d 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -332,7 +332,11 @@ enum quantum_keycodes {
MIDI_VELOCITY_MIN,
MI_VEL_0 = MIDI_VELOCITY_MIN,
+#ifdef VIA_ENABLE
+ MI_VEL_1 = MIDI_VELOCITY_MIN,
+#else
MI_VEL_1,
+#endif
MI_VEL_2,
MI_VEL_3,
MI_VEL_4,