1
0
Fork 0

[Keymap] Update personal userspace and keymaps (#8747)

* Update mousekey parameters in userspace

* Disable GRAVE_ESC in boards where it isn't used

* Tweak MODERN_DOLCH_RED and reset RGB on Shift+Toggle in KBD6X

* Disable RGB controls when Fn/Caps indicator lights are on

* Use LTO_ENABLE instead of setting -flto directly

* Add led_update_keymap, use SS_LCTL instead of SS_LCTRL

* Change TAPPING_TOGGLE from 2 to 3
This commit is contained in:
Konstantin Đorđević 2020-04-09 18:54:19 +02:00 committed by GitHub
parent 07c75feba3
commit 439afc883a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 43 additions and 8 deletions

View file

@ -69,7 +69,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case CLEAR:
if (record->event.pressed) {
CLEAN_MODS(
SEND_STRING(SS_LCTRL("a") SS_TAP(X_DELETE));
SEND_STRING(SS_LCTL("a") SS_TAP(X_DELETE));
)
}
break;
@ -117,3 +117,12 @@ void led_set_keymap(uint8_t usb_led) {}
void led_set_user(uint8_t usb_led) {
led_set_keymap(usb_led);
}
__attribute__((weak))
bool led_update_keymap(led_t led_state) {
return true;
}
bool led_update_user(led_t led_state) {
return led_update_keymap(led_state);
}