diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-04-26 23:44:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 23:44:45 -0700 |
commit | f9fb52951de60e9428a6c397bf167a6e7e9433f3 (patch) | |
tree | 0ed96c47bdd4261d1afc18760dd261e7c8aa2b80 /keyboards/kbdfans | |
parent | b5419bd574600565bf4b2479bf07c7cc39dbfeea (diff) |
Update noroadsleft userspace and keymaps (2021-04-26) (#12711)
* Update noroadsleft userspace and keymaps (2021-04-26)
- add Discipline keymap
- move Emulated Non-US Backslash, Numeric Keypad and F13-F24 code fully to userspace
- re-add some custom keycode handling I accidentally deleted
- update VRSN keycode
- update KC60 and userspace readmes
* remove Git readme from kc60 keymap
* update kc60:noroadsleft readme
Concatenates this readme into one file, and updates the image links.
Diffstat (limited to 'keyboards/kbdfans')
-rw-r--r-- | keyboards/kbdfans/kbd75/keymaps/noroadsleft/keymap.c | 42 |
1 files changed, 1 insertions, 41 deletions
diff --git a/keyboards/kbdfans/kbd75/keymaps/noroadsleft/keymap.c b/keyboards/kbdfans/kbd75/keymaps/noroadsleft/keymap.c index c08e513a7d..1648224fdf 100644 --- a/keyboards/kbdfans/kbd75/keymaps/noroadsleft/keymap.c +++ b/keyboards/kbdfans/kbd75/keymaps/noroadsleft/keymap.c @@ -1,4 +1,4 @@ -/* Copyright 2020 James Young (@noroadsleft) +/* Copyright 2020-2021 James Young (@noroadsleft) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -114,31 +114,6 @@ bool led_update_user(led_t led_state) { bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { switch (keycode) { - case G_PUSH: - if (record->event.pressed) { - SEND_STRING("git push origin "); - }; - return false; - case G_FTCH: - if (record->event.pressed) { - if ( get_mods() & MOD_MASK_SHIFT ) { - clear_mods(); - SEND_STRING("git pull upstream "); - } else { - SEND_STRING("git fetch upstream "); - } - }; - return false; - case G_BRCH: - if (record->event.pressed) { - if ( get_mods() & MOD_MASK_SHIFT ) { - clear_mods(); - SEND_STRING("master"); - } else { - SEND_STRING("$(git branch-name)"); - } - }; - return false; case GO_Q2: if (record->event.pressed) { layer_move(_QW); @@ -191,21 +166,6 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { } }; return true; - case KC_Z: - if (record->event.pressed) { - if ( get_mods() & MOD_MASK_RALT ) { - register_code(KC_NUBS); - } else { - register_code(KC_Z); - } - } else { - if ( get_mods() & MOD_MASK_RALT ) { - unregister_code(KC_NUBS); - } else { - unregister_code(KC_Z); - } - }; - return false; default: return true; } |