summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/1upkeyboards/sweet16/v2/proton_c/config.h4
-rw-r--r--keyboards/atomic/keymaps/pvc/config.h2
-rw-r--r--keyboards/boston_meetup/2019/config.h5
-rw-r--r--keyboards/c39/keymaps/kuchosauronad0/config.h9
-rw-r--r--keyboards/ckeys/obelus/config.h2
-rwxr-xr-xkeyboards/ckeys/thedora/config.h3
-rw-r--r--keyboards/clueboard/2x1800/2018/config.h4
-rw-r--r--keyboards/clueboard/2x1800/2019/config.h4
-rw-r--r--keyboards/clueboard/66/rev4/config.h4
-rw-r--r--keyboards/clueboard/66_hotswap/gen1/config.h4
-rw-r--r--keyboards/clueboard/66_hotswap/prototype/config.h2
-rw-r--r--keyboards/clueboard/california/config.h4
-rw-r--r--keyboards/clueboard/card/config.h2
-rw-r--r--keyboards/crkbd/keymaps/gotham/config.h2
-rw-r--r--keyboards/ergodash/mini/config.h2
-rw-r--r--keyboards/ergodash/rev1/config.h2
-rw-r--r--keyboards/evyd13/plain60/keymaps/audio/config.h2
-rw-r--r--keyboards/flehrad/bigswitch/keymaps/wanleg/config.h2
-rw-r--r--keyboards/hadron/ver3/config.h6
-rw-r--r--keyboards/handwired/aranck/config.h2
-rw-r--r--keyboards/handwired/dactyl_manuform/5x6_right_trackball/config.h2
-rw-r--r--keyboards/handwired/heisenberg/config.h2
-rw-r--r--keyboards/handwired/ibm122m/config.h6
-rw-r--r--keyboards/handwired/xealous/config.h3
-rw-r--r--keyboards/helix/pico/config.h2
-rw-r--r--keyboards/hp69/config.h5
-rw-r--r--keyboards/jones/v03/config.h4
-rw-r--r--keyboards/jones/v03_1/config.h4
-rw-r--r--keyboards/keebio/iris/keymaps/blucky/config.h4
-rw-r--r--keyboards/keebio/iris/keymaps/broswen/config.h2
-rw-r--r--keyboards/keebio/iris/keymaps/drashna/config.h2
-rw-r--r--keyboards/keebio/iris/keymaps/mtdjr/config.h2
-rw-r--r--keyboards/keebio/iris/keymaps/pvinis/config.h2
-rw-r--r--keyboards/keebio/levinson/keymaps/issmirnov/config.h2
-rw-r--r--keyboards/keebio/quefrency/keymaps/drashna_ms/config.h2
-rw-r--r--keyboards/keebio/viterbi/keymaps/drashna/config.h2
-rwxr-xr-xkeyboards/keysofkings/twokey/config.h30
-rw-r--r--keyboards/knops/mini/keymaps/mverteuil/config.h4
-rw-r--r--keyboards/launchpad/keymaps/drashna/config.h2
-rw-r--r--keyboards/lets_split/sockets/config.h2
-rw-r--r--keyboards/lfkeyboards/lfk78/config.h2
-rw-r--r--keyboards/lfkeyboards/lfk87/config.h2
-rw-r--r--keyboards/lfkeyboards/mini1800/config.h2
-rw-r--r--keyboards/lfkeyboards/smk65/revb/config.h3
-rw-r--r--keyboards/meira/featherble/config.h2
-rw-r--r--keyboards/meira/keymaps/grahampheath/config.h2
-rw-r--r--keyboards/mitosis/keymaps/datagrok/config.h2
-rw-r--r--keyboards/mitosis/keymaps/mjt/config.h2
-rw-r--r--keyboards/moonlander/config.h4
-rw-r--r--keyboards/mschwingen/modelm/config.h2
-rw-r--r--keyboards/nack/config.h14
-rw-r--r--keyboards/nightly_boards/n40_o/config.h4
-rw-r--r--keyboards/nightly_boards/n87/config.h2
-rw-r--r--keyboards/nightly_boards/octopad/config.h2
-rw-r--r--keyboards/orthodox/keymaps/drashna/config.h2
-rw-r--r--keyboards/planck/config.h2
-rw-r--r--keyboards/planck/ez/config.h5
-rw-r--r--keyboards/planck/keymaps/dodger/config.h2
-rw-r--r--keyboards/planck/keymaps/synth_sample/config.h56
-rw-r--r--keyboards/planck/keymaps/synth_sample/keymap.c296
-rw-r--r--keyboards/planck/keymaps/synth_sample/rules.mk2
-rw-r--r--keyboards/planck/keymaps/synth_sample/sample.h3797
-rw-r--r--keyboards/planck/keymaps/synth_wavetable/config.h56
-rw-r--r--keyboards/planck/keymaps/synth_wavetable/keymap.c320
-rw-r--r--keyboards/planck/keymaps/synth_wavetable/rules.mk2
-rw-r--r--keyboards/planck/keymaps/synth_wavetable/wavetable.h2197
-rw-r--r--keyboards/planck/light/config.h4
-rw-r--r--keyboards/planck/rev6/config.h6
-rw-r--r--keyboards/preonic/config.h2
-rw-r--r--keyboards/preonic/rev3/config.h6
-rw-r--r--keyboards/scarletbandana/config.h2
-rw-r--r--keyboards/silverbullet44/config.h2
-rw-r--r--keyboards/splitkb/zima/config.h2
-rw-r--r--keyboards/subatomic/config.h2
-rwxr-xr-xkeyboards/tetris/config.h2
-rw-r--r--keyboards/vitamins_included/rev1/config.h2
-rw-r--r--keyboards/vitamins_included/rev2/config.h2
-rw-r--r--keyboards/wilba_tech/wt60_xt/config.h2
-rw-r--r--keyboards/yoichiro/lunakey_mini/config.h2
79 files changed, 6860 insertions, 109 deletions
diff --git a/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h b/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h
index 30abf28ee3..286af1857f 100644
--- a/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h
+++ b/keyboards/1upkeyboards/sweet16/v2/proton_c/config.h
@@ -18,3 +18,7 @@
#define ENCODERS_PAD_A { A2 }
#define ENCODERS_PAD_B { A1 }
#define ENCODER_RESOLUTION 4
+
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
diff --git a/keyboards/atomic/keymaps/pvc/config.h b/keyboards/atomic/keymaps/pvc/config.h
index 3803a2ccd0..01fa0f4313 100644
--- a/keyboards/atomic/keymaps/pvc/config.h
+++ b/keyboards/atomic/keymaps/pvc/config.h
@@ -31,7 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_PIN B7
#define BACKLIGHT_BREATHING
-#define C6_AUDIO
+#define AUDIO_PIN C6
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/boston_meetup/2019/config.h b/keyboards/boston_meetup/2019/config.h
index 3f2a0dd5d6..d9fd93da6e 100644
--- a/keyboards/boston_meetup/2019/config.h
+++ b/keyboards/boston_meetup/2019/config.h
@@ -31,7 +31,10 @@
//Audio
#undef AUDIO_VOICES
-#undef C6_AUDIO
+#undef AUDIO_PIN
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(ONE_UP_SOUND)
diff --git a/keyboards/c39/keymaps/kuchosauronad0/config.h b/keyboards/c39/keymaps/kuchosauronad0/config.h
index cf0726e2bb..d67935a9fd 100644
--- a/keyboards/c39/keymaps/kuchosauronad0/config.h
+++ b/keyboards/c39/keymaps/kuchosauronad0/config.h
@@ -32,12 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGB_DI_PIN D0
# define RGBLED_NUM 4
#endif // !RGBLIGHT_ENABLE
-
-/*
-#ifdef AUDIO_ENABLE
-# Timer 1: #define B5_AUDIO #define B6_AUDIO #define B7_AUDIO
-# Timer 3: #define C4_AUDIO #define C5_AUDIO #define C6_AUDIO
-//TODO: only D0 and D1 available
-#endif // !AUDIO_ENABLE
-*/
-
diff --git a/keyboards/ckeys/obelus/config.h b/keyboards/ckeys/obelus/config.h
index eaf4811ba7..25bc1db03c 100644
--- a/keyboards/ckeys/obelus/config.h
+++ b/keyboards/ckeys/obelus/config.h
@@ -154,7 +154,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef AUDIO_ENABLE
#define AUDIO_VOICES
- #define C6_AUDIO
+ #define AUDIO_PIN C6
#define STARTUP_SONG SONG(STARTUP_SOUND)
#endif
diff --git a/keyboards/ckeys/thedora/config.h b/keyboards/ckeys/thedora/config.h
index 349e33748b..c7557aa62d 100755
--- a/keyboards/ckeys/thedora/config.h
+++ b/keyboards/ckeys/thedora/config.h
@@ -157,6 +157,9 @@
// NOTE: Must change polyphony_rate to a number higher than 0 in voices.c
#define AUDIO_VOICES
#define PITCH_STANDARD_A 880.0f
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
// Mouse keys
#define MOUSEKEY_DELAY 0
diff --git a/keyboards/clueboard/2x1800/2018/config.h b/keyboards/clueboard/2x1800/2018/config.h
index 40486379ea..9d5b9b5144 100644
--- a/keyboards/clueboard/2x1800/2018/config.h
+++ b/keyboards/clueboard/2x1800/2018/config.h
@@ -20,8 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* audio support */
-#define B7_AUDIO
-#define C4_AUDIO
+#define AUDIO_PIN_ALT B7
+#define AUDIO_PIN C4
#define AUDIO_CLICKY
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
diff --git a/keyboards/clueboard/2x1800/2019/config.h b/keyboards/clueboard/2x1800/2019/config.h
index 595dc61081..162d41a2e2 100644
--- a/keyboards/clueboard/2x1800/2019/config.h
+++ b/keyboards/clueboard/2x1800/2019/config.h
@@ -27,8 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define ENCODER_RESOLUTION 4
/* audio support */
-#define B7_AUDIO
-#define C4_AUDIO
+#define AUDIO_PIN_ALT B7
+#define AUDIO_PIN C4
#define AUDIO_CLICKY
/*
diff --git a/keyboards/clueboard/66/rev4/config.h b/keyboards/clueboard/66/rev4/config.h
index c745b5a110..2c11cf1ec0 100644
--- a/keyboards/clueboard/66/rev4/config.h
+++ b/keyboards/clueboard/66/rev4/config.h
@@ -22,3 +22,7 @@
#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at
#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up
+
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
diff --git a/keyboards/clueboard/66_hotswap/gen1/config.h b/keyboards/clueboard/66_hotswap/gen1/config.h
index 1ddcfacf4d..1471af63dc 100644
--- a/keyboards/clueboard/66_hotswap/gen1/config.h
+++ b/keyboards/clueboard/66_hotswap/gen1/config.h
@@ -108,3 +108,7 @@
#define LED_DRIVER_COUNT 1
#define LED_DRIVER_LED_COUNT 71
+
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
diff --git a/keyboards/clueboard/66_hotswap/prototype/config.h b/keyboards/clueboard/66_hotswap/prototype/config.h
index 5c22b927ad..a1ab703c34 100644
--- a/keyboards/clueboard/66_hotswap/prototype/config.h
+++ b/keyboards/clueboard/66_hotswap/prototype/config.h
@@ -3,7 +3,7 @@
/* Speaker configuration
*/
-#define B7_AUDIO
+#define AUDIO_PIN B7
#define NO_MUSIC_MODE
#define AUDIO_CLICKY
diff --git a/keyboards/clueboard/california/config.h b/keyboards/clueboard/california/config.h
index b8c5759db6..017f1ddf66 100644
--- a/keyboards/clueboard/california/config.h
+++ b/keyboards/clueboard/california/config.h
@@ -1,3 +1,7 @@
#pragma once
#include "config_common.h"
+
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
diff --git a/keyboards/clueboard/card/config.h b/keyboards/clueboard/card/config.h
index 67ddb5e25c..a115f5d6cf 100644
--- a/keyboards/clueboard/card/config.h
+++ b/keyboards/clueboard/card/config.h
@@ -23,4 +23,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BACKLIGHT_LEVELS 6
// Enable audio
-#define C6_AUDIO
+#define AUDIO_PIN C6
diff --git a/keyboards/crkbd/keymaps/gotham/config.h b/keyboards/crkbd/keymaps/gotham/config.h
index ed08203aa1..dd58a0fe05 100644
--- a/keyboards/crkbd/keymaps/gotham/config.h
+++ b/keyboards/crkbd/keymaps/gotham/config.h
@@ -15,7 +15,7 @@
#define NO_ACTION_ONESHOT
#ifdef AUDIO_ENABLE
-# define B5_AUDIO
+# define AUDIO_PIN B5
# define NO_MUSIC_MODE
# define AUDIO_CLICKY
#endif
diff --git a/keyboards/ergodash/mini/config.h b/keyboards/ergodash/mini/config.h
index 5e16c78544..b936e0f54e 100644
--- a/keyboards/ergodash/mini/config.h
+++ b/keyboards/ergodash/mini/config.h
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
-#define C6_AUDIO
+#define AUDIO_PIN C6
/* number of backlight levels */
#ifdef BACKLIGHT_ENABLE
diff --git a/keyboards/ergodash/rev1/config.h b/keyboards/ergodash/rev1/config.h
index 6e25194e4b..07282cdad2 100644
--- a/keyboards/ergodash/rev1/config.h
+++ b/keyboards/ergodash/rev1/config.h
@@ -45,7 +45,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
-#define C6_AUDIO
+#define AUDIO_PIN C6
/* number of backlight levels */
#ifdef BACKLIGHT_ENABLE
diff --git a/keyboards/evyd13/plain60/keymaps/audio/config.h b/keyboards/evyd13/plain60/keymaps/audio/config.h
index 9a43b7fbe3..50309173b4 100644
--- a/keyboards/evyd13/plain60/keymaps/audio/config.h
+++ b/keyboards/evyd13/plain60/keymaps/audio/config.h
@@ -1,3 +1,3 @@
#pragma once
-#define B7_AUDIO
+#define AUDIO_PIN B7
diff --git a/keyboards/flehrad/bigswitch/keymaps/wanleg/config.h b/keyboards/flehrad/bigswitch/keymaps/wanleg/config.h
index 54abb9a6c1..bb638ce599 100644
--- a/keyboards/flehrad/bigswitch/keymaps/wanleg/config.h
+++ b/keyboards/flehrad/bigswitch/keymaps/wanleg/config.h
@@ -39,4 +39,4 @@
#define QMK_LED B0
// set audio pin
-#define C6_AUDIO
+#define AUDIO_PIN C6
diff --git a/keyboards/hadron/ver3/config.h b/keyboards/hadron/ver3/config.h
index f76ca40603..8c04575eea 100644
--- a/keyboards/hadron/ver3/config.h
+++ b/keyboards/hadron/ver3/config.h
@@ -50,7 +50,11 @@
//Audio
#undef AUDIO_VOICES
-#undef C6_AUDIO
+#undef AUDIO_PIN
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
+
#ifdef AUDIO_ENABLE
#define STARTUP_SONG SONG(PLANCK_SOUND)
diff --git a/keyboards/handwired/aranck/config.h b/keyboards/handwired/aranck/config.h
index 5356feb1ef..7d0ab25fe4 100644
--- a/keyboards/handwired/aranck/config.h
+++ b/keyboards/handwired/aranck/config.h
@@ -101,7 +101,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/**
* Aranck-specific definitions
*/
-#define B5_AUDIO
+#define AUDIO_PIN B5
/**
* Aranck-specific definitions END
*/
diff --git a/keyboards/handwired/dactyl_manuform/5x6_right_trackball/config.h b/keyboards/handwired/dactyl_manuform/5x6_right_trackball/config.h
index 6d89314a2c..d18f08e408 100644
--- a/keyboards/handwired/dactyl_manuform/5x6_right_trackball/config.h
+++ b/keyboards/handwired/dactyl_manuform/5x6_right_trackball/config.h
@@ -61,7 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BOOTMAGIC_LITE_ROW_RIGHT 6
#define BOOTMAGIC_LITE_COLUMN_RIGHT 5
-#define C6_AUDIO
+#define AUDIO_PIN C6
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 4095
#define DYNAMIC_KEYMAP_LAYER_COUNT 16
diff --git a/keyboards/handwired/heisenberg/config.h b/keyboards/handwired/heisenberg/config.h
index 9fe2ec879a..ba35f24aca 100644
--- a/keyboards/handwired/heisenberg/config.h
+++ b/keyboards/handwired/heisenberg/config.h
@@ -101,7 +101,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/**
* Heisenberg-specific definitions
*/
-#define B5_AUDIO
+#define AUDIO_PIN B5
/**
* Heisenberg-specific definitions END
*/
diff --git a/keyboards/handwired/ibm122m/config.h b/keyboards/handwired/ibm122m/config.h
index e0e95d6d3b..bd1fdc97dc 100644
--- a/keyboards/handwired/ibm122m/config.h
+++ b/keyboards/handwired/ibm122m/config.h
@@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define PRODUCT_ID 0x0000
#define DEVICE_VER 0x0001
#define MANUFACTURER IBM
-#define PRODUCT IBM Model M 122 key
+#define PRODUCT IBM Model M 122 key
/* key matrix size */
#define MATRIX_ROWS 8
@@ -102,8 +102,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-#define B6_AUDIO
-#define C6_AUDIO
+#define AUDIO_PIN_ALT B6
+#define AUDIO_PIN C6
/* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
diff --git a/keyboards/handwired/xealous/config.h b/keyboards/handwired/xealous/config.h
index 251e85d4c1..5c1469b1f0 100644
--- a/keyboards/handwired/xealous/config.h
+++ b/keyboards/handwired/xealous/config.h
@@ -34,10 +34,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef AUDIO_ENABLE
- #define C6_AUDIO
+ #define AUDIO_PIN C6
#define STARTUP_SONG SONG(STARTUP_SOUND)
#define NO_MUSIC_MODE
#define TONE_QWERTY SONG(Q__NOTE(_E4));
#define TONE_NUMPAD SONG(Q__NOTE(_D4));
#endif
-
diff --git a/keyboards/helix/pico/config.h b/keyboards/helix/pico/config.h
index 3938db30e6..b01fd3a001 100644
--- a/keyboards/helix/pico/config.h
+++ b/keyboards/helix/pico/config.h
@@ -77,7 +77,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Audio */
#ifdef AUDIO_ENABLE
- #define B5_AUDIO
+ #define AUDIO_PIN B5
#endif
/* ws2812 RGB LED */
diff --git a/keyboards/hp69/config.h b/keyboards/hp69/config.h
index ca0a9eb47b..06dd57145c 100644
--- a/keyboards/hp69/config.h
+++ b/keyboards/hp69/config.h
@@ -48,5 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 20
#define RGBLIGHT_ANIMATIONS
-#define A4_AUDIO
-#define A5_AUDIO \ No newline at end of file
+#define AUDIO_PIN A5
+#define AUDIO_PIN_ALT A4
+#define AUDIO_PIN_ALT_AS_NEGATIVE
diff --git a/keyboards/jones/v03/config.h b/keyboards/jones/v03/config.h
index 3683a43dd1..0ff82e8d37 100644
--- a/keyboards/jones/v03/config.h
+++ b/keyboards/jones/v03/config.h
@@ -57,8 +57,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Audio */
#ifdef AUDIO_ENABLE
- #define C6_AUDIO
- #define B6_AUDIO // 2nd pin for simultaneous audio.
+ #define AUDIO_PIN C6
+ #define AUDIO_PIN_ALT B6 // 2nd pin for simultaneous audio.
#define AUDIO_CLICKY
#endif
diff --git a/keyboards/jones/v03_1/config.h b/keyboards/jones/v03_1/config.h
index a064e56396..c1d6a577fc 100644
--- a/keyboards/jones/v03_1/config.h
+++ b/keyboards/jones/v03_1/config.h
@@ -57,8 +57,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Audio */