1
0
Fork 0

DST_RMV → DST_REM

This commit is contained in:
Konstantin Đorđević 2019-01-29 00:37:10 +01:00
parent 6695c874fb
commit f2543c3b9b
4 changed files with 4 additions and 4 deletions

View file

@ -87,6 +87,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, TOP, MV_UP, BOTTOM, PRV_TAB, _______, _______, _______, _______, _______, _______, _______, _______, CLEAR, _______, TOP, MV_UP, BOTTOM, PRV_TAB, _______, _______, _______, _______, _______, _______, _______, _______, CLEAR,
_______, MV_LEFT, MV_DOWN, MV_RGHT, NXT_TAB, _______, _______, _______, _______, _______, _______, _______, _______, _______, MV_LEFT, MV_DOWN, MV_RGHT, NXT_TAB, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
XXXXXXX, DST_RMV, DST_ADD, _______, _______, _______, XXXXXXX XXXXXXX, DST_REM, DST_ADD, _______, _______, _______, XXXXXXX
), ),
}; };

View file

@ -30,7 +30,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
case DST_P_R: case DST_P_R:
(record->event.pressed ? register_code16 : unregister_code16)( (record->event.pressed ? register_code16 : unregister_code16)(
(get_mods() & DST_MOD_MASK) ? DST_RMV : DST_PRV (get_mods() & DST_MOD_MASK) ? DST_REM : DST_PRV
); );
return false; return false;

View file

@ -24,7 +24,7 @@
#define NXT_TAB LCTL(KC_PGDN) #define NXT_TAB LCTL(KC_PGDN)
#define DST_ADD LCTL(LGUI(KC_D)) #define DST_ADD LCTL(LGUI(KC_D))
#define DST_RMV LCTL(LGUI(KC_F4)) #define DST_REM LCTL(LGUI(KC_F4))
#define DST_PRV LCTL(LGUI(KC_LEFT)) #define DST_PRV LCTL(LGUI(KC_LEFT))
#define DST_NXT LCTL(LGUI(KC_RGHT)) #define DST_NXT LCTL(LGUI(KC_RGHT))
#ifndef DST_MOD_MASK #ifndef DST_MOD_MASK

View file

@ -82,7 +82,7 @@ void td_lsft_fn_reset(qk_tap_dance_state_t *state, void *user_data) {
} }
qk_tap_dance_action_t tap_dance_actions[] = { qk_tap_dance_action_t tap_dance_actions[] = {
[TD_DST_A_R] = ACTION_TAP_DANCE_DOUBLE(DST_ADD, DST_RMV), [TD_DST_A_R] = ACTION_TAP_DANCE_DOUBLE(DST_ADD, DST_REM),
[TD_RAL_LAL] = ACTION_TAP_DANCE_DOUBLE_MODS(KC_RALT, KC_LALT), [TD_RAL_LAL] = ACTION_TAP_DANCE_DOUBLE_MODS(KC_RALT, KC_LALT),
[TD_RAL_RGU] = ACTION_TAP_DANCE_DOUBLE_MODS(KC_RALT, KC_RGUI), [TD_RAL_RGU] = ACTION_TAP_DANCE_DOUBLE_MODS(KC_RALT, KC_RGUI),