I recently finished building my own mechanical keyboard (Discipline 65) and was excited to get some media keys setup using VIA (the default firmware on this board). My plan was to configure the right most column for controlling the system volume plus brightness control. However, despite trying a number of different options including
KC__VOLDOWN which claim to be Mac specific, I just could not get the system volume controls working.
After a couple of hours of frustration I jumped on the official QMK Discord and asked there, getting a very quick answer that solved all my problems. It seems that for some reason, VIA doesn’t support those Mac specific keycodes so just ignores them when you put them in. Here’s how you fix it.
Instead of using the volume command, you use the “any” key which can be found in the “special” section of the keymapping area, then for Volume up, you enter the code
0x80 and for volume down you add
0x81 (incidently, if you want mute you need to use
Big thanks to the guys in the QMK/VIA discord, you were super helpful!