Skip to content

Commit

Permalink
Add homerow mods to new symbol layer
Browse files Browse the repository at this point in the history
  • Loading branch information
epahl-atlassian committed Jan 18, 2022
1 parent 7726eeb commit bfe3519
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion keyboards/splitkb/kyria/keymaps/halcyoncorsair/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[_SYM] = LAYOUT(
KC_GRV, KC_4, KC_3, KC_2, KC_1, KC_5, KC_9, KC_0, KC_6, KC_7, KC_8, _______,
KC_DEL, KC_DLR, KC_PLUS, KC_LPRN, KC_RPRN, KC_AT, KC_PIPE, KC_MINS, KC_EQL, KC_UNDS, KC_ASTR, _______,
KC_DEL, HOME_DLR,HOME_PLUS,HOME_LPRN,HOME_RPRN,KC_AT, KC_PIPE, HOME_MINS,HOME_EQL,HOME_UNDS,HOME_ASTR, _______,
_______, KC_EXLM, KC_HASH, KC_LCBR, KC_RCBR, KC_TILD, _______, _______, _______, _______, KC_AMPR, KC_LBRC, KC_RBRC, KC_PERC, KC_CIRC, _______,
_______, _______, _______, _______, _______, _______, KC_BSPC, _______, _______, _______
),
Expand Down
36 changes: 25 additions & 11 deletions users/halcyoncorsair/keycode_aliases.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,17 @@
#define QHOME_F LSFT_T(KC_F)

// Symbols
#define HOME_BSLS LCTL_T(KC_BSLS)
#define HOME_PIPE LALT_T(KC_PIPE)
#define HOME_LCBR LGUI_T(KC_LCBR)
#define HOME_LPRN LSFT_T(KC_LPRN)
#ifdef ENABLE_SYMBOL_LAYER_ORIGINAL
# define HOME_BSLS LCTL_T(KC_BSLS)
# define HOME_PIPE LALT_T(KC_PIPE)
# define HOME_LCBR LGUI_T(KC_LCBR)
# define HOME_LPRN LSFT_T(KC_LPRN)
#else
# define HOME_DLR LCTL_T(KC_DLR)
# define HOME_PLUS LALT_T(KC_PLUS)
# define HOME_LPRN LGUI_T(KC_LPRN)
# define HOME_RPRN LSFT_T(KC_RPRN)
#endif

// Num
#define HOME_F5 LCTL_T(KC_F5)
Expand All @@ -52,16 +59,23 @@
#define HOME_O RCTL_T(KC_O)

// Qwerty
#define QHOME_J RSFT_T(KC_J)
#define QHOME_K RGUI_T(KC_K)
#define QHOME_L LALT_T(KC_L)
#define QHOME_J RSFT_T(KC_J)
#define QHOME_K RGUI_T(KC_K)
#define QHOME_L LALT_T(KC_L)
#define QHOME_SCLN RCTL_T(KC_SCLN)

// Symbols
#define HOME_DLR RSFT_T(KC_DLR)
#define HOME_PERC RGUI_T(KC_PERC)
#define HOME_CIRC LALT_T(KC_CIRC)
#define HOME_MINS RCTL_T(KC_MINS)
#ifdef ENABLE_SYMBOL_LAYER_ORIGINAL
# define HOME_DLR RSFT_T(KC_DLR)
# define HOME_PERC RGUI_T(KC_PERC)
# define HOME_CIRC LALT_T(KC_CIRC)
# define HOME_MINS RCTL_T(KC_MINS)
#else
# define HOME_MINS RSFT_T(KC_MINS)
# define HOME_EQL RGUI_T(KC_EQL)
# define HOME_UNDS LALT_T(KC_UNDS)
# define HOME_ASTR RCTL_T(KC_ASTR)
#endif

// Num
#define HOME_4 RSFT_T(KC_4)
Expand Down

0 comments on commit bfe3519

Please sign in to comment.