* Only perform key and mod remapping in keycode_config() and mod_config() when MAGIC_ENABLE is defined.
* If not set, these functions now return the original keycode or modifier unchanged.
* Reduces firmware size, and unnecessary code when MAGIC_ENABLE is not enabled.
* Removed space saving suggestion with magic functions from squeezing AVR documentation
* Indicate <keyboard>.h LAYOUT() deprecation in understanding_qmk.md
Initial documentation uses <keyboard>.json to define matrix pin definitions, rather than having users #define the LAYOUT() macro in <keyboard>.h - This change brings this docs inline with the [porting_guidelines](https://docs.qmk.fm/porting_your_keyboard_to_qmk), QMK MSYS will also throw an error if this is attempted.
* Update understanding_qmk.md
enclosed '<' using backtick
* style guideline, now builds correctly
prior version indicates directory, new indicates config. still the same idea.
I built three of these and was confused as to why my numpad 0 wasn't
working. Eventually, I consulted this website to see the key matrix for
the Model M
https://sharktastica.co.uk/sims/matrix?kb=enhanced
`kp_0` is in the matrix at [0, 12], not [0, 11]. Simple off by one
error. I fixed this, flashed to all my keyboards, and it worked.
Co-authored-by: Kay Barkbark <kay@laptop>
* Update tap_hold.md
Minor grammar/punctuation changes;
Added some more tap-hold examples;
Added a link about home row mods to the reference near the end;
Replaced directional quotation marks with symmetric variant, as this seem to be the only page using them;
Standardised formatting of "tap-hold" (hyphenated is slightly more frequent in existing documentation, so I went with that), as well as "Mod-Tap"/"Layer-Tap".
* Update docs/tap_hold.md
Co-authored-by: Ryan <fauxpark@gmail.com>
* Update docs/tap_hold.md
Co-authored-by: Ryan <fauxpark@gmail.com>
---------
Co-authored-by: Ryan <fauxpark@gmail.com>
* Fixup kprepublic/bm60hsrgb/rev2
- Remove RGBLight configuration and throw error if RGBLight & RGB Matrix
are enabled together - the WS2812 driver cannot be used for RGBLight
as it is being used by this keyboard's custom RGB Matrix driver
- Migrate RGB Matrix configuration to DD
- Migrate default keymap to JSON
- Use short SPDX license headers
* Fix OOB coordinate
Fixup kprepublic/bm60hsrgb_iso/rev2
- Remove RGBLight configuration and throw error if RGBLight & RGB Matrix
are enabled together - the WS2812 driver cannot be used for RGBLight
as it is being used by this keyboard's custom RGB Matrix driver
- Migrate RGB Matrix configuration to DD
- Migrate default keymap to JSON
- Use short SPDX license headers
Fixup kprepublic/bm60hsrgb/rev2
- Remove RGBLight configuration and throw error if RGBLight & RGB Matrix
are enabled together - the WS2812 driver cannot be used for RGBLight
as it is being used by this keyboard's custom RGB Matrix driver
- Migrate RGB Matrix configuration to DD
- Migrate default keymap to JSON
- Use short SPDX license headers