Skip to content

Commit

Permalink
Changed Yeehaw Default Keymap (#13341)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsquash committed Jul 1, 2021
1 parent 57d9f01 commit c275828
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions keyboards/yeehaw/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -64,7 +64,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {

case SQUASHKB:
if (record->event.pressed) {
SEND_STRING("http:https://squashkb.com");
SEND_STRING("https:https://squashkb.com");
}
break;
}
Expand Down
30 changes: 15 additions & 15 deletions keyboards/yeehaw/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,31 @@ 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
),

};

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;
Expand All @@ -83,7 +83,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {

case SQUASHKB:
if (record->event.pressed) {
SEND_STRING("http:https://squashkb.com");
SEND_STRING("https:https://squashkb.com");
}
break;
}
Expand Down

0 comments on commit c275828

Please sign in to comment.