Remove legacy sendstring keycodes (#18749)

This commit is contained in:
Ryan
2022-10-17 23:45:23 +11:00
committed by GitHub
parent c57330d340
commit bad8c5992b
73 changed files with 581 additions and 557 deletions

View File

@@ -211,7 +211,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
switch(keycode) {
case IJ_OMN:
SEND_STRING(SS_TAP(X_LSHIFT)SS_TAP(X_LSHIFT));
SEND_STRING(SS_TAP(X_LSFT)SS_TAP(X_LSFT));
return false;
}
}

View File

@@ -263,7 +263,7 @@ void matrix_init_user(void) {
// eeconfig_init(); // reset keyboard to a standard default state; useful when new releases messup with eeprom values
// set num lock on at start (for numonly layer to work)
if (!(host_keyboard_leds() & (1<<USB_LED_NUM_LOCK))) {
SEND_STRING(SS_TAP(X_NUMLOCK)); //register_code(KC_NUM_LOCK); unregister_code(KC_NUM_LOCK);
SEND_STRING(SS_TAP(X_NUM_LOCK)); //register_code(KC_NUM_LOCK); unregister_code(KC_NUM_LOCK);
}
}