qmk_firmware/keyboards/gmmk/pro/ansi/keymaps/jonavin
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
..
config.h Merge remote-tracking branch 'upstream/master' into develop 2021-07-29 23:04:06 -07:00
keymap.c Merge remote-tracking branch 'upstream/master' into develop 2021-07-29 23:04:06 -07:00
readme.md Merge remote-tracking branch 'upstream/master' into develop 2021-07-29 23:04:06 -07:00
rgb_matrix_map.h fix develop branch move file (#13832) 2021-08-01 22:37:59 +10:00
rules.mk Remove Full Bootmagic (#13846) 2021-08-06 23:59:56 -07:00

jonavin's GMMK Pro layout

  • Add Fn layer keys from Glorious Core mapping that's missing in the default qmk mapping

  • Add PrtScr, Scroll Lock, Break, NumLock to Fn layer

  • Implement Win key lock using Fn+Win like in Glorious Core firmware

  • Layer 2 mod on Caps Lock with double-tap to switch to this layer, double tap to switch back

  • Layer 2 provides arrows on WASD and additional nav keys + right hand numpad with 00; an be used for Alt Code entry

  • Layer 2 left spacebar Backspace

  • add double tap of Left Shift to toggle Caps Lock

  • additional encoder functionality

    • FN Layer - change rgb idle timeout
    • holding Left shift, change layers
    • holding right shift, Navigate page up/down
    • holding Left Ctrl, navigate prev/next word
    • holding Left Alt, change media prev/next track
    • default is change volume
  • LED/RGB Functionality

    • RGB idle timeout (default 5 minutes)
      • Can be changed in FN layer with < and > or encoder
      • setting to zero disables timeout
      • indicators in FN layer using RGB in FN and number rows to show the timeout in minutes
    • LED address location map as enum definition
    • LED group lists for arrows, numpad, F row, num row, left and right side LEDs
    • default startuo in single mode with default colour
    • Capslock, Scroll Lock, and Num Lock (not set) indicator on left side LED
    • Layer indicator on right side LED
    • Fn key light up red when Fn layer activate
    • Win Key light up red when Win Lock mode enabled
    • Layer 2 activation lights up Numpad area

All layers diagram

Default layer image

Fn Layer image

Layer 2 (Caps Lock Mod) image