]> git.donarmstrong.com Git - qmk_firmware.git/commit
Updates to noroadsleft keymap for KC60 (#5127)
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>
Thu, 14 Feb 2019 15:07:32 +0000 (07:07 -0800)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Thu, 14 Feb 2019 15:07:32 +0000 (07:07 -0800)
commitce465c084bfdfb3dbd24414397b2542176da423d
treefdc6cb8df9a3b5f907350cbcfd230b650e91adc9
parent54f18ce0f71efbcb1306cbfe620ed2ad42ee31bc
Updates to noroadsleft keymap for KC60 (#5127)

* NUBS_Z: initial version

Create a keycode that is normally Z, but KC_NUBS when tapped while Alt is being held.

This removes the possibility of using an Alt+Z shortcut.

* NUBS_Z: modification

Modify NUBS_Z macro to only use alternate operation if Right Alt is being held, rather than responding to either Alt key.

Also add QMK version keycode to System layer, Equals key.

* Remove unneeded breaks from process_record_user

* Macro refactoring

- removed G_RST and G_C10R macros
- updated G_BRCH macro
  - outputs `master` if used while Shift is held down; or my git alias for the current branch otherwise
- updated G_FTCH macro
  - outputs `git pull upstream ` if used with Shift; `git fetch upstream ` otherwise
- swapped `modifiers` variable for `get_mods()` function directly for checking modifier state
- swapped keymap-level modifier mask macros for QMK-core mod mask macros (thanks vomindoraan #4337)
- renamed MODS_RALT_MASK to MOD_MASK_RALT (more consistent with the above change)

* Update readme files
keyboards/kc60/keymaps/noroadsleft/keymap.c
keyboards/kc60/keymaps/noroadsleft/readme.md
keyboards/kc60/keymaps/noroadsleft/readme_ch1.md
keyboards/kc60/keymaps/noroadsleft/readme_ch2.md
keyboards/kc60/keymaps/noroadsleft/readme_ch3.md
keyboards/kc60/keymaps/noroadsleft/readme_ch4.md
keyboards/kc60/keymaps/noroadsleft/readme_ch5.md
keyboards/kc60/keymaps/noroadsleft/readme_git.md