1
0
Fork 0

Changed Yeehaw Default Keymap (#13341)

This commit is contained in:
Caleb Lightfoot 2021-07-01 05:47:43 -05:00 committed by GitHub
parent 57d9f01125
commit c275828ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View file

@ -46,9 +46,9 @@ KC_TRNS, RGB_SAD, RGB_M_P, RGB_MOD, RGB_SPD,
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder */
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
}
return true;
@ -64,7 +64,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case SQUASHKB:
if (record->event.pressed) {
SEND_STRING("http://squashkb.com");
SEND_STRING("https://squashkb.com");
}
break;
}

View file

@ -43,21 +43,21 @@ KC_TRNS, RGB_SAD, RGB_M_P, RGB_MOD, RGB_SPD,
),
[2] = LAYOUT(
_______,
_______,
_______, _______, _______, _______,
_______, _______, _______, _______, _______,
_______, _______,
_______
KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS
),
[3] = LAYOUT(
_______,
_______,
_______, _______, _______, _______,
_______, _______, _______, _______, _______,
_______, _______,
_______
KC_TRNS,
KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
KC_TRNS
),
};
@ -65,9 +65,9 @@ _______, _______, _______, _______, _______,
bool encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) { /* First encoder */
if (clockwise) {
tap_code(KC_VOLD);
} else {
tap_code(KC_VOLU);
} else {
tap_code(KC_VOLD);
}
}
return true;
@ -83,7 +83,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case SQUASHKB:
if (record->event.pressed) {
SEND_STRING("http://squashkb.com");
SEND_STRING("https://squashkb.com");
}
break;
}