1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/wilba_tech
James Young 4b453dca92
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>
2021-08-16 06:51:13 +10:00
..
rama_works_kara Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rama_works_koyu Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
rama_works_m6_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
rama_works_m6_b Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
rama_works_m10_b Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
rama_works_m10_c Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rama_works_m50_a Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rama_works_m50_ax Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rama_works_m60_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
rama_works_m65_b Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rama_works_m65_bx Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
rama_works_u80_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt8_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt60_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt60_b Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt60_bx Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt60_c Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt60_d Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt60_g Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt60_g2 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt60_h1 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt60_h2 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt60_h3 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt60_xt Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt65_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt65_b Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt65_f Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt65_fx Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt65_g Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt65_g2 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt65_h1 Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt65_xt Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt65_xtx Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt69_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt70_jb Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
wt75_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt75_b Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt75_c Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt80_a Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt80_bc Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt80_g Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
zeal60 Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
zeal65 Remove MIDI Configuration boilerplate (#11151) 2021-08-16 06:51:13 +10:00
wt_main.c Added RAMA WORKS M50-AX (#12458) 2021-05-25 19:51:52 +10:00
wt_mono_backlight.c Move some led drivers to common folder (#13749) 2021-07-31 14:31:09 +01:00
wt_mono_backlight.h [Keyboard] wilba.tech PCB refactoring (#6982) 2019-10-11 21:37:03 -07:00
wt_rgb_backlight.c __flash? (#13799) 2021-07-31 14:35:30 +01:00
wt_rgb_backlight.h [Keyboard] Added RAMA WORKS M65-B, M65-BX, M10-C, M50-A (#9991) 2020-08-17 23:44:35 -07:00
wt_rgb_backlight_api.h Refactoring wilba.tech PCBs, updating Rama Works U80-A (#6272) 2019-07-21 07:46:22 -04:00
wt_rgb_backlight_keycodes.h Refactoring wilba.tech PCBs, updating Rama Works U80-A (#6272) 2019-07-21 07:46:22 -04:00