1
0
Fork 0

Compare commits

..

No commits in common. "c6e976889fbbaa026b42c368bf5ebf4e00006262" and "c986e9b0f72a1f08cd7a58132fa077fdd3db1578" have entirely different histories.

3 changed files with 2 additions and 17 deletions

View file

@ -5,8 +5,6 @@
#define LA_SYM MO(SYM)
#define LA_NAV MO(NAV)
#define MUTE LGUI(KC_C)
enum layers {
DEF,
SYM,
@ -39,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
[NAV] = LAYOUT(
KC_TAB, XXXXXXX,XXXXXXX,XXXXXXX,MUTE, RESET, KC_CAPS,XXXXXXX,XXXXXXX,XXXXXXX,
KC_TAB, XXXXXXX,XXXXXXX,XXXXXXX,XXXXXXX, RESET, KC_CAPS,XXXXXXX,XXXXXXX,XXXXXXX,
OS_SHFT,OS_ALT, OS_CTRL,OS_CMD, XXXXXXX, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,KC_BSPC,
XXXXXXX,XXXXXXX,OS_RALT,XXXXXXX,KC_PSCR,XXXXXXX,XXXXXXX,XXXXXXX,KC_PGDN,KC_PGUP,XXXXXXX,KC_ENT,
XXXXXXX,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,_______,_______,XXXXXXX,XXXXXXX,XXXXXXX

View file

@ -37,18 +37,6 @@ void update_oneshot(
*state = os_up_unqueued;
unregister_code(mod);
}
if (!is_oneshot_ignored_key(keycode)) {
switch (*state) {
case os_up_used:
unregister_code(mod);
break;
case os_up_queued:
*state = os_up_used;
break;
default:
break;
}
}
} else {
if (!is_oneshot_ignored_key(keycode)) {
// On non-ignored keyup, consider the oneshot used.
@ -56,7 +44,7 @@ void update_oneshot(
case os_down_unused:
*state = os_down_used;
break;
case os_up_used:
case os_up_queued:
*state = os_up_unqueued;
unregister_code(mod);
break;

View file

@ -6,7 +6,6 @@
typedef enum {
os_up_unqueued,
os_up_queued,
os_up_used,
os_down_unused,
os_down_used,
} oneshot_state;