summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aktersnurra/charybdis/keymap.c8
-rw-r--r--aktersnurra/ferris/keymap.c6
-rw-r--r--aktersnurra/sftrp.c10
3 files changed, 11 insertions, 13 deletions
diff --git a/aktersnurra/charybdis/keymap.c b/aktersnurra/charybdis/keymap.c
index b494fe4..f0f943c 100644
--- a/aktersnurra/charybdis/keymap.c
+++ b/aktersnurra/charybdis/keymap.c
@@ -38,7 +38,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_SYM] = LAYOUT( /* [> Symbol layer <] */
KC_TRNS, KC_EXLM, KC_PERC, KC_DLR, KC_AMPR, KC_AT, KC_ASTR, KC_CIRC, KC_TRNS, KC_TRNS,
- KC_GRV, KC_HASH, KC_LPRN, TD(SFT_RP), KC_MINS, KC_EQL, KC_SLBRC, KC_RBRC, KC_QUOT, KC_PIPE,
+ KC_GRV, KC_HASH, KC_LPRN, TD(SFT_RP), KC_MINS, KC_EQL, KC_SLBRC, KC_RBRC, KC_QUOT, KC_PIPE,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS,
KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS, KC_TRNS
),
@@ -51,9 +51,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[_NUM] = LAYOUT( /* [> Number layer <] */
- KC_TRNS, KC_4, KC_5, KC_6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_1, KC_2, KC_3, KC_0, KC_TRNS, KC_7, KC_8, KC_9, 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_4, KC_5, KC_6, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_1, KC_2, KC_3, KC_0, KC_TRNS, KC_7, KC_8, KC_9, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
MO(_MEDIA), MO(_FUN), KC_TRNS, KC_TRNS, KC_TRNS
),
diff --git a/aktersnurra/ferris/keymap.c b/aktersnurra/ferris/keymap.c
index 8525b84..e0172ae 100644
--- a/aktersnurra/ferris/keymap.c
+++ b/aktersnurra/ferris/keymap.c
@@ -41,9 +41,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_SYM] = LAYOUT( /* [> Symbol layer <] */
KC_TRNS, KC_EXLM, KC_PERC, KC_DLR, KC_AMPR, KC_AT, KC_ASTR, KC_CIRC, KC_TRNS, KC_TRNS,
- KC_GRV, KC_HASH, KC_LPRN, TD(SFT_RP), KC_MINS, KC_EQL, KC_SLBRC, KC_RBRC, KC_QUOT, KC_PIPE,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS,
- KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS
+ KC_GRV, KC_HASH, KC_LPRN, TD(SFT_RP), KC_MINS, KC_EQL, KC_SLBRC, KC_RBRC, KC_QUOT, KC_PIPE,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS,
+ KC_TRNS, KC_SPC, KC_TRNS, KC_TRNS
),
[_NAV] = LAYOUT( /* [> Navigation layer <] */
diff --git a/aktersnurra/sftrp.c b/aktersnurra/sftrp.c
index edffc80..7552a87 100644
--- a/aktersnurra/sftrp.c
+++ b/aktersnurra/sftrp.c
@@ -18,8 +18,7 @@ td_state_t cur_dance(tap_dance_state_t *state) {
if (state->count == 2)
return TD_DOUBLE_SINGLE_TAP;
else
- return TD_UNKNOWN; // Any number higher than the maximum state value you
- // return above
+ return TD_UNKNOWN;
}
void sftrp_finished(tap_dance_state_t *state, void *user_data) {
@@ -30,10 +29,9 @@ void sftrp_finished(tap_dance_state_t *state, void *user_data) {
break;
case TD_SINGLE_HOLD:
register_mods(MOD_BIT(
- KC_LSFT)); // For a layer-tap key, use `layer_on(_MY_LAYER)` here
+ KC_LSFT));
break;
- case TD_DOUBLE_SINGLE_TAP: // Allow nesting of 2 parens `))` within tapping
- // term
+ case TD_DOUBLE_SINGLE_TAP:
tap_code16(KC_RPRN);
register_code16(KC_RPRN);
break;
@@ -49,7 +47,7 @@ void sftrp_reset(tap_dance_state_t *state, void *user_data) {
break;
case TD_SINGLE_HOLD:
unregister_mods(MOD_BIT(
- KC_LSFT)); // For a layer-tap key, use `layer_off(_MY_LAYER)` here
+ KC_LSFT));
break;
case TD_DOUBLE_SINGLE_TAP:
unregister_code16(KC_RPRN);