diff options
| author | James Young <xxiinophobia@yahoo.com> | 2020-02-29 12:00:00 -0800 |
|---|---|---|
| committer | James Young <xxiinophobia@yahoo.com> | 2020-02-29 11:59:30 -0800 |
| commit | 26eef35f07698d23aafae90e1c230b52e100a334 (patch) | |
| tree | eb8e43fc58ca55788e6e89430af0db55ea79e324 /keyboards/lets_split/keymaps | |
| parent | 85041ff05bf0e5f4ff4535caf6e638491a5614c8 (diff) | |
| download | qmk_firmware-26eef35f07698d23aafae90e1c230b52e100a334.tar.gz qmk_firmware-26eef35f07698d23aafae90e1c230b52e100a334.zip | |
2020 February 29 Breaking Changes Update (#8064)
Diffstat (limited to 'keyboards/lets_split/keymaps')
| -rw-r--r-- | keyboards/lets_split/keymaps/adam/keymap.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/lets_split/keymaps/adam/keymap.c b/keyboards/lets_split/keymaps/adam/keymap.c index a5ad8e32e..baa4e0852 100644 --- a/keyboards/lets_split/keymaps/adam/keymap.c +++ b/keyboards/lets_split/keymaps/adam/keymap.c | |||
| @@ -11,6 +11,9 @@ extern keymap_config_t keymap_config; | |||
| 11 | #define FLOCK 1 // symbols arrows and F keys on F held down | 11 | #define FLOCK 1 // symbols arrows and F keys on F held down |
| 12 | #define JLOCK 2 // same as Flock but with fall thru J and mapped to J held down | 12 | #define JLOCK 2 // same as Flock but with fall thru J and mapped to J held down |
| 13 | 13 | ||
| 14 | #define FLOCK_F LT(FLOCK, KC_F) | ||
| 15 | #define FLOCK_J LT(JLOCK, KC_J) | ||
| 16 | |||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 15 | 18 | ||
| 16 | /* Qwerty | 19 | /* Qwerty |
| @@ -27,7 +30,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 27 | [BASE] = LAYOUT ( \ | 30 | [BASE] = LAYOUT ( \ |
| 28 | TD(1), KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, \ | 31 | TD(1), KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, \ |
| 29 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_TAB, KC_TAB, KC_Y, KC_U, KC_I, KC_O, KC_P, \ | 32 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_TAB, KC_TAB, KC_Y, KC_U, KC_I, KC_O, KC_P, \ |
| 30 | SFT_T(KC_A), ALT_T(KC_S),CTL_T(KC_D), F(FLOCK), GUI_T(KC_G), KC_BSPC, KC_DELETE, GUI_T(KC_H), F(JLOCK), CTL_T(KC_K), ALT_T(KC_L), SFT_T(KC_SCLN), \ | 33 | SFT_T(KC_A), ALT_T(KC_S),CTL_T(KC_D), FLOCK_F, GUI_T(KC_G), KC_BSPC, KC_DELETE, GUI_T(KC_H), FLOCK_J, CTL_T(KC_K), ALT_T(KC_L), SFT_T(KC_SCLN), \ |
| 31 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_SPC, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOTE | 34 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_SPC, KC_ENT, KC_N, KC_M, KC_COMM, KC_DOT, KC_QUOTE |
| 32 | ), | 35 | ), |
| 33 | [FLOCK] = LAYOUT ( \ | 36 | [FLOCK] = LAYOUT ( \ |
| @@ -44,10 +47,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 44 | ) | 47 | ) |
| 45 | }; | 48 | }; |
| 46 | 49 | ||
| 47 | const uint16_t PROGMEM fn_actions[] = { | ||
| 48 | [FLOCK] = ACTION_LAYER_TAP_KEY(FLOCK,KC_F), | ||
| 49 | [JLOCK] = ACTION_LAYER_TAP_KEY(JLOCK,KC_J) | ||
| 50 | }; | ||
| 51 | #ifdef TAP_DANCE_ENABLE | 50 | #ifdef TAP_DANCE_ENABLE |
| 52 | void tap_1(qk_tap_dance_state_t *state, void *user_data) { | 51 | void tap_1(qk_tap_dance_state_t *state, void *user_data) { |
| 53 | switch (state->count) { | 52 | switch (state->count) { |
