summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-08-15 20:51:13 +0000
committerGitHub <noreply@github.com>2021-08-16 06:51:13 +1000
commit4b453dca92f87899d98b5340b16677bd78a52beb (patch)
treea40b8e53964520762946e0c63bfc0a83cb2a3428 /keyboards/handwired
parentfd340f8957055d74b26a5ddc490253fcc8a3a2f7 (diff)
Remove MIDI Configuration boilerplate (#11151)
* remove keyboard-level instances of `MIDI_ENABLE = no` Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e '/^[ #]*MIDI_ENABLE[ \t]*=[ \t]*no/d' {} + ``` Co-Authored-By: Nick Brassel <nick@tzarc.org> * fix case-sensitivity issues on MIDI_ENABLE Change instances of `MIDI_ENABLE = YES` to `MIDI_ENABLE = yes`. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;MIDI_ENABLE[ \t]*=[ \t]*[Yy][Ee][Ss];MIDI_ENABLE = yes;g' {} + ``` * replace `# MIDI controls` with `# MIDI support` Replace `# MIDI controls` with `# MIDI support` in keyboard-level `rules.mk` files. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*MIDI[ \t]*\(controls\|support\).*;# MIDI support;g' {} + ``` * align inline comments Aligns the inline comments to the length used by the QMK AVR rules.mk template. Command: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;MIDI_ENABLE *= *yes.*;MIDI_ENABLE = yes # MIDI support;g' {} + ``` * remove commented instances of `MIDI_ENABLE` from keyboard `rules.mk` files Commands: ``` find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#\([ \t]*MIDI_ENABLE\) = yes; \1 = no ;' {} + find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;^\([ \t]*\)\(MIDI_ENABLE = no\);\2\1;' {} + find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e '/^[ #]\+MIDI_ENABLE *= *no/d' {} + ``` * remove MIDI configuration boilerplate from keyboard config.h files Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/108key_trackpoint/rules.mk1
-rw-r--r--keyboards/handwired/412_64/config.h20
-rw-r--r--keyboards/handwired/412_64/rules.mk1
-rw-r--r--keyboards/handwired/42/rules.mk1
-rw-r--r--keyboards/handwired/aplx2/rules.mk1
-rw-r--r--keyboards/handwired/aranck/config.h20
-rw-r--r--keyboards/handwired/aranck/rules.mk1
-rw-r--r--keyboards/handwired/arrow_pad/rules.mk1
-rw-r--r--keyboards/handwired/atreus50/rules.mk1
-rw-r--r--keyboards/handwired/bdn9_ble/rules.mk1
-rw-r--r--keyboards/handwired/boss566y/redragon_vara/rules.mk1
-rw-r--r--keyboards/handwired/brain/rules.mk1
-rw-r--r--keyboards/handwired/cans12er/rules.mk1
-rw-r--r--keyboards/handwired/chiron/rules.mk1
-rw-r--r--keyboards/handwired/cmd60/rules.mk1
-rw-r--r--keyboards/handwired/co60/rev1/rules.mk1
-rw-r--r--keyboards/handwired/co60/rev6/rules.mk1
-rw-r--r--keyboards/handwired/co60/rev7/rules.mk1
-rw-r--r--keyboards/handwired/colorlice/rules.mk1
-rw-r--r--keyboards/handwired/dactyl/rules.mk1
-rw-r--r--keyboards/handwired/dactyl_left/config.h20
-rw-r--r--keyboards/handwired/dactyl_left/rules.mk1
-rw-r--r--keyboards/handwired/dactyl_promicro/rules.mk1
-rw-r--r--keyboards/handwired/daishi/rules.mk1
-rw-r--r--keyboards/handwired/datahand/rules.mk1
-rw-r--r--keyboards/handwired/ddg_56/rules.mk1
-rw-r--r--keyboards/handwired/fc200rt_qmk/rules.mk1
-rw-r--r--keyboards/handwired/fivethirteen/rules.mk1
-rw-r--r--keyboards/handwired/floorboard/config.h20
-rw-r--r--keyboards/handwired/floorboard/rules.mk1
-rw-r--r--keyboards/handwired/frenchdev/rules.mk1
-rw-r--r--keyboards/handwired/fruity60/rules.mk1
-rw-r--r--keyboards/handwired/gamenum/rules.mk1
-rw-r--r--keyboards/handwired/hacked_motospeed/config.h20
-rw-r--r--keyboards/handwired/hacked_motospeed/rules.mk1
-rw-r--r--keyboards/handwired/heisenberg/config.h20
-rw-r--r--keyboards/handwired/heisenberg/rules.mk1
-rw-r--r--keyboards/handwired/hnah40/config.h20
-rw-r--r--keyboards/handwired/hnah40/rules.mk1
-rw-r--r--keyboards/handwired/hnah40rgb/rules.mk1
-rw-r--r--keyboards/handwired/ibm122m/config.h20
-rw-r--r--keyboards/handwired/ibm122m/rules.mk1
-rw-r--r--keyboards/handwired/jn68m/rules.mk1
-rw-r--r--keyboards/handwired/jot50/rules.mk1
-rw-r--r--keyboards/handwired/jotanck/rules.mk1
-rw-r--r--keyboards/handwired/jotpad16/rules.mk1
-rw-r--r--keyboards/handwired/jtallbean/split_65/config.h20
-rw-r--r--keyboards/handwired/jtallbean/split_65/rules.mk1
-rw-r--r--keyboards/handwired/juliet/config.h20
-rw-r--r--keyboards/handwired/juliet/rules.mk1
-rw-r--r--keyboards/handwired/k8split/rules.mk1
-rw-r--r--keyboards/handwired/k_numpad17/rules.mk1
-rw-r--r--keyboards/handwired/kbod/rules.mk1
-rw-r--r--keyboards/handwired/lovelive9/rules.mk1
-rw-r--r--keyboards/handwired/magicforce61/rules.mk1
-rw-r--r--keyboards/handwired/magicforce68/rules.mk1
-rw-r--r--keyboards/handwired/mechboards_micropad/config.h20
-rw-r--r--keyboards/handwired/mechboards_micropad/rules.mk1
-rw-r--r--keyboards/handwired/minorca/rules.mk1
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/rules.mk1
-rw-r--r--keyboards/handwired/myskeeb/rules.mk1
-rw-r--r--keyboards/handwired/not_so_minidox/rules.mk1
-rw-r--r--keyboards/handwired/novem/rules.mk1
-rw-r--r--keyboards/handwired/numpad20/rules.mk1
-rw-r--r--keyboards/handwired/obuwunkunubi/spaget/rules.mk1
-rw-r--r--keyboards/handwired/ortho5x13/rules.mk1
-rw-r--r--keyboards/handwired/owlet60/config.h20
-rw-r--r--keyboards/handwired/owlet60/rules.mk1
-rw-r--r--keyboards/handwired/p65rgb/rules.mk1
-rw-r--r--keyboards/handwired/pilcrow/rules.mk1
-rw-r--r--keyboards/handwired/postageboard/mini/rules.mk1
-rw-r--r--keyboards/handwired/postageboard/r1/rules.mk1
-rw-r--r--keyboards/handwired/prime_exl/rules.mk1
-rw-r--r--keyboards/handwired/prime_exl_plus/rules.mk1
-rw-r--r--keyboards/handwired/promethium/rules.mk1
-rw-r--r--keyboards/handwired/qc60/rules.mk1
-rwxr-xr-xkeyboards/handwired/reddot/rules.mk1
-rw-r--r--keyboards/handwired/retro_refit/rules.mk2
-rw-r--r--keyboards/handwired/sick68/config.h20
-rw-r--r--keyboards/handwired/sick68/rules.mk1
-rw-r--r--keyboards/handwired/slash/rules.mk1
-rw-r--r--keyboards/handwired/splittest/rules.mk1
-rw-r--r--keyboards/handwired/steamvan/rev1/rules.mk1
-rw-r--r--keyboards/handwired/sticc14/config.h20
-rw-r--r--keyboards/handwired/sticc14/rules.mk1
-rw-r--r--keyboards/handwired/swiftrax/cowfish/rules.mk1
-rw-r--r--keyboards/handwired/symmetry60/rules.mk1
-rw-r--r--keyboards/handwired/tennie/config.h20
-rw-r--r--keyboards/handwired/tennie/rules.mk1
-rw-r--r--keyboards/handwired/terminus_mini/config.h20
-rw-r--r--keyboards/handwired/terminus_mini/rules.mk1
-rw-r--r--keyboards/handwired/trackpoint/rules.mk1
-rw-r--r--keyboards/handwired/tritium_numpad/rules.mk1
-rw-r--r--keyboards/handwired/twadlee/tp69/config.h19
-rw-r--r--keyboards/handwired/twadlee/tp69/rules.mk1
-rw-r--r--keyboards/handwired/unk/rules.mk1
-rw-r--r--keyboards/handwired/videowriter/rules.mk1
-rw-r--r--keyboards/handwired/wulkan/rules.mk1
-rw-r--r--keyboards/handwired/xealous/rules.mk1
99 files changed, 1 insertions, 421 deletions
diff --git a/keyboards/handwired/108key_trackpoint/rules.mk b/keyboards/handwired/108key_trackpoint/rules.mk
index 707cf5f970..8bd357d2c1 100644
--- a/keyboards/handwired/108key_trackpoint/rules.mk
+++ b/keyboards/handwired/108key_trackpoint/rules.mk
@@ -25,7 +25,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/handwired/412_64/config.h b/keyboards/handwired/412_64/config.h
index 542a77e755..e0336d966f 100644
--- a/keyboards/handwired/412_64/config.h
+++ b/keyboards/handwired/412_64/config.h
@@ -141,23 +141,3 @@
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
-/*
- * MIDI options
- */
-
-/* enable basic MIDI features:
- - MIDI notes can be sent when in Music mode is on
-*/
-//#define MIDI_BASIC
-
-/* enable advanced MIDI features:
- - MIDI notes can be added to the keymap
- - Octave shift and transpose
- - Virtual sustain, portamento, and modulation wheel
- - etc.
-*/
-//#define MIDI_ADVANCED
-
-/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
-//#define MIDI_TONE_KEYCODE_OCTAVES 1
-
diff --git a/keyboards/handwired/412_64/rules.mk b/keyboards/handwired/412_64/rules.mk
index 06e8b88c2f..0e94997413 100644
--- a/keyboards/handwired/412_64/rules.mk
+++ b/keyboards/handwired/412_64/rules.mk
@@ -24,7 +24,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
-MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/handwired/42/rules.mk b/keyboards/handwired/42/rules.mk
index 7a29075207..2664e648cc 100644
--- a/keyboards/handwired/42/rules.mk
+++ b/keyboards/handwired/42/rules.mk
@@ -28,7 +28,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
diff --git a/keyboards/handwired/aplx2/rules.mk b/keyboards/handwired/aplx2/rules.mk
index f6769c269c..9dce5675a6 100644
--- a/keyboards/handwired/aplx2/rules.mk
+++ b/keyboards/handwired/aplx2/rules.mk
@@ -25,7 +25,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
diff --git a/keyboards/handwired/aranck/config.h b/keyboards/handwired/aranck/config.h
index 7d0ab25fe4..625df566fe 100644
--- a/keyboards/handwired/aranck/config.h
+++ b/keyboards/handwired/aranck/config.h
@@ -205,26 +205,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
-/*
- * MIDI options
- */
-
-/* enable basic MIDI features:
- - MIDI notes can be sent when in Music mode is on
-*/
-//#define MIDI_BASIC
-
-/* enable advanced MIDI features:
- - MIDI notes can be added to the keymap
- - Octave shift and transpose
- - Virtual sustain, portamento, and modulation wheel
- - etc.
-*/
-//#define MIDI_ADVANCED
-
-/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
-//#define MIDI_TONE_KEYCODE_OCTAVES 1
-
/* Bootmagic Lite key configuration */
// #define BOOTMAGIC_LITE_ROW 0
// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/handwired/aranck/rules.mk b/keyboards/handwired/aranck/rules.mk
index 36ba3831cf..a08e59233f 100644
--- a/keyboards/handwired/aranck/rules.mk
+++ b/keyboards/handwired/aranck/rules.mk
@@ -25,7 +25,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = yes # Audio output on port C6
diff --git a/keyboards/handwired/arrow_pad/rules.mk b/keyboards/handwired/arrow_pad/rules.mk
index b628a37af0..155c0588b5 100644
--- a/keyboards/handwired/arrow_pad/rules.mk
+++ b/keyboards/handwired/arrow_pad/rules.mk
@@ -25,7 +25,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = yes # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/handwired/atreus50/rules.mk b/keyboards/handwired/atreus50/rules.mk
index 6c382c06a0..eec3a47601 100644
--- a/keyboards/handwired/atreus50/rules.mk
+++ b/keyboards/handwired/atreus50/rules.mk
@@ -22,7 +22,6 @@ CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
diff --git a/keyboards/handwired/bdn9_ble/rules.mk b/keyboards/handwired/bdn9_ble/rules.mk
index b14367a642..f16a308d5a 100644
--- a/keyboards/handwired/bdn9_ble/rules.mk
+++ b/keyboards/handwired/bdn9_ble/rules.mk
@@ -28,7 +28,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support
UNICODE_ENABLE = no # Unicode
BLUETOOTH = AdafruitBLE # Enable Bluetooth
AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/handwired/