summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-06-27 20:35:08 +0200
committerJack Humbert <jack.humb@gmail.com>2017-06-27 20:35:08 +0200
commitea7590c8940bc85f8a83bd42b1e01bc1431c104b (patch)
treef3c2b71269e6ff64dd3c427d0f8a7e27f2900201 /docs
parent9f5b4e1d7a37f873acbc19b8385964121566653e (diff)
downloadqmk_firmware-ea7590c8940bc85f8a83bd42b1e01bc1431c104b.tar.gz
qmk_firmware-ea7590c8940bc85f8a83bd42b1e01bc1431c104b.tar.xz
add new arguements, docs
Diffstat (limited to 'docs')
-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: