Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Fix keycode collision in craftwalk keymap #15055

Merged
merged 1 commit into from
Nov 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions keyboards/craftwalk/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ enum layer_names {
_ADJUST
};

#define KC_NUM MO(_NUM)
#define KC_ADJ MO(_ADJUST)
#define MO_NUM MO(_NUM)
#define MO_ADJ MO(_ADJUST)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Base */
[_BASE] = LAYOUT(
KC_Q, KC_W, KC_E,
KC_LCTL, KC_A, KC_S, KC_D,
KC_LSFT, KC_ADJ, KC_WH_U, KC_WH_D, KC_F, KC_NUM, KC_SPC
KC_LSFT, MO_ADJ, KC_WH_U, KC_WH_D, KC_F, MO_NUM, KC_SPC
),
/* Number */
[_NUM] = LAYOUT(
Expand Down