Update noroadsleft userspace and keymaps (2022-07-18) (#17714)

* kbdfans/kbd75/rev1:noroadsleft - remove LAYOUT_75_ansi_wkl definition

* coseyfannitutti/discipline:noroadsleft - change KC_GESC to KC_ESC

* update Quantum keycode instances in noroadsleft keymaps

- `RESET` -> `QK_BOOT`
- `EEP_RST` -> `EE_CLR`
- `DEBUG` -> `DB_TOGG`

* create and add G_PWD macro
This commit is contained in:
James Young
2022-07-18 19:09:05 -07:00
committed by GitHub
parent 627e35b7ac
commit 7aea67980b
6 changed files with 36 additions and 42 deletions

View File

@ -1,4 +1,4 @@
/* Copyright 2020-2021 James Young (@noroadsleft)
/* Copyright 2020-2022 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
@ -66,6 +66,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
};
return false;
case G_PWD:
if (record->event.pressed) {
clear_mods();
SEND_STRING("$( pwd | sed -e 's;^.*/keyboards/;;' -e 's;/;_;g')");
};
return false;
case M_SALL:
if (record->event.pressed) {
tap_code16(C(KC_A));