aboutsummaryrefslogtreecommitdiffstats
path: root/docs/modding_your_keyboard.md
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-06-27 16:57:19 -0400
committerGitHub <noreply@github.com>2017-06-27 16:57:19 -0400
commita52836e669cb41b39629076f4cd6f1d4d8a949b1 (patch)
tree915375855e8a8d667f2071391dc56a390db52854 /docs/modding_your_keyboard.md
parent4ba9438c3f71e6ea3433be4f9e1a28d36471d247 (diff)
parent7d28a417c035b66529d7f6d49479fe4c22737134 (diff)
downloadfirmware-a52836e669cb41b39629076f4cd6f1d4d8a949b1.tar.gz
firmware-a52836e669cb41b39629076f4cd6f1d4d8a949b1.tar.bz2
firmware-a52836e669cb41b39629076f4cd6f1d4d8a949b1.zip
Merge pull request #1445 from qmk/dual_audio
Allow for duophony (C6 and B5) and B5 audio
Diffstat (limited to 'docs/modding_your_keyboard.md')
-rw-r--r--docs/modding_your_keyboard.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/modding_your_keyboard.md b/docs/modding_your_keyboard.md
index 2429570f5..44e6e6e72 100644
--- a/docs/modding_your_keyboard.md
+++ b/docs/modding_your_keyboard.md
@@ -1,7 +1,7 @@
## Audio output from a speaker
-Your keyboard can make sounds! If you've got a Planck, Preonic, or basically any keyboard that allows access to the C6 port, you can hook up a simple speaker and make it beep. You can use those beeps to indicate layer transitions, modifiers, special keys, or just to play some funky 8bit tunes.
+Your keyboard can make sounds! If you've got a Planck, Preonic, or basically any keyboard that allows access to the C6 or B5 port (`#define C6_AUDIO` and `#define B5_AUDIO`), you can hook up a simple speaker and make it beep. You can use those beeps to indicate layer transitions, modifiers, special keys, or just to play some funky 8bit tunes.
The audio code lives in [quantum/audio/audio.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/audio/audio.h) and in the other files in the audio directory. It's enabled by default on the Planck [stock keymap](https://github.com/qmk/qmk_firmware/blob/master/keyboards/planck/keymaps/default/keymap.c). Here are the important bits: