1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/layouts/community/ortho_4x12
James Young a03aa301de
Remove Full Bootmagic (#13846)
* disambiguate Bootmagic rules in keymaps

The files edited by this commit were added at a point in time where `BOOTMAGIC_ENABLE = yes` enabled full Bootmagic.

This commit edits the files to specify that full Bootmagic is intended.

* remove BOOTMAGIC_ENABLE=full setting

* unify commented BOOTMAGIC_ENABLE rules in keyboards

Explicitly sets `BOOTMAGIC_ENABLE = no` in keyboards where the rule was commented out.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;#[ \t]*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-zA-Z]\+\).*;\1 = no       # Virtual DIP switch configuration;g' {} +
```

* remove commented Bootmagic rules from keymap/user level

Command:

```
find keyboards/ layouts/ users/ -type f -name 'rules.mk' -exec sed -i -e '/#.*\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*/d' {} +
```

* update keyboard BOOTMAGIC_ENABLE rule formatting

Sets the formatting of BOOTMAGIC_ENABLE rules to `BOOTMAGIC_ENABLE = [value]`, without the inline comments (which will be replaced later).

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
```

* update keyboards' BOOTMAGIC_ENABLE settings

Updates keyboard `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used.

Command:

```
find keyboards/ -type f -name 'rules.mk' -and -not -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = \)full;\1lite;g' '{}' +
```

* update keymap/user BOOTMAGIC_ENABLE settings

Updates keymap/user `rules.mk` files to use `BOOTMAGIC_ENABLE = lite` where `BOOTMAGIC_ENABLE = full` was being used.

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' +
find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE[ \t=]\+\)full;\1lite;g' '{}' +
```

* remove and replace inline comments in keyboards and keymap/user files

Removes and replaces the inline comments, which have been updated to read `Enable Bootmagic Lite`.

Commands:

```
find keyboards/ -type f -name 'rules.mk' -and -path '*/keymaps/*' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
find layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE\)[ \t=]\+\([a-z]\+\).*;\1 = \2;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = lite\);\1     # Enable Bootmagic Lite;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = yes\);\1      # Enable Bootmagic Lite;g' '{}' +
find keyboards/ layouts/community/ users/ -type f -name 'rules.mk' -exec sed -i -e 's;\(BOOTMAGIC_ENABLE = no\);\1       # Enable Bootmagic Lite;g' '{}' +
```

* rename improperly named makefiles

Some files intended to be used as makefiles had improper names causing them to not be used as intended when building.

This commit corrects the filenames of the affected files.

* update renamed file with new rule formatting

* update QMK's template files

Updates QMK's `rules.mk` templates to use the new inline comment.

* update QMK Docs

- remove documentation of full Bootmagic
- update links to Bootmagic Lite doc
- add doc for Magic Keycodes

* rules.mk patch for coarse/ixora and coarse/vinta
2021-08-06 23:59:56 -07:00
..
ajp10304 Create ajp10304 userspace and ortho_4x12 layout. (#9304) 2020-07-09 20:18:51 +01:00
alfrdmalr [Keymap] Feature/alfrdmalr/keymap update (#8174) 2020-03-03 10:13:42 -08:00
bakingpy Audio system overhaul (#11820) 2021-02-15 09:40:38 +11:00
bocaj Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
brandonschlack Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
bredfield [Keymap] ortho_4x12: bredfield (#6137) 2019-06-17 19:50:31 -07:00
buswerks Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
callum [Keymap] major keymap overhaul (#10185) 2020-09-09 15:37:34 -07:00
colemak_mod_dh_wide Remove QMK_KEYBOARD_CONFIG_H (#11576) 2021-01-22 19:32:10 +00:00
crs Remove QMK_KEYBOARD_CONFIG_H (#11576) 2021-01-22 19:32:10 +00:00
ddeklerk [Keymap] Add ddeklerk ortho_4x12 layout (#10109) 2020-08-31 21:44:47 -07:00
drashna Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
ergodoxish Remove QMK_KEYBOARD_CONFIG_H (#11576) 2021-01-22 19:32:10 +00:00
grahampheath Remove redundant KC_TRNS and KC_NO fillers in layouts (#5142) 2019-02-16 08:11:15 -08:00
greatwizard [Keymap] greatwizard userspace and ortho 4x12 and 5x12 keymaps (#9584) 2020-10-28 10:20:06 -07:00
jackhumbert 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
jarred [Keymap] Jarred's Plaid keymap (#6049) 2019-07-23 00:07:57 -07:00
jotix Jotix ortho_4x12_layout (#10647) 2020-10-16 11:09:57 -07:00
juno Remove deprecated callbacks for encoders and dip switches (#13404) 2021-07-24 00:37:19 -07:00
junonum Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00
manna-harbour_miryoku [Keymap] Update Miryoku (#13307) 2021-07-03 09:09:02 -07:00
mguterl Convert Dip Switch callbacks to boolean functions (#13399) 2021-07-01 08:22:21 -07:00
mindsound 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
peej [Keymap] Add peej userspace and keymaps (#11332) 2021-01-19 13:10:28 +11:00
rs 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
symbolic [Keymap] layout/community/ortho4x12/symbolic update (#5274) 2019-03-03 10:49:27 -08:00
talljoe Updates to Talljoe's Keymaps (#10115) 2020-11-06 17:16:22 -08:00
wanleg Wanleg tuneup / additions (#5752) 2019-05-01 20:29:00 -07:00
xyverz [Keymap] Xyverz's crkbd keymap (#11299) 2021-01-06 10:04:43 -08:00
layout.json Creates a layouts/ folder for keymaps shared between keyboards (#1609) 2017-08-23 22:29:07 -04:00
readme.md Creates a layouts/ folder for keymaps shared between keyboards (#1609) 2017-08-23 22:29:07 -04:00

ortho_4x12

LAYOUT_ortho_4x12