summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/jeebak
diff options
context:
space:
mode:
authorJeeBak Kim <jeebak.kim@gmail.com>2016-08-06 00:01:12 -0700
committerJeeBak Kim <jeebak.kim@gmail.com>2016-08-06 00:01:12 -0700
commit96ed96f924d7df610465b567e5127e73e99a368d (patch)
treedf162dfcaa44c317cfae44de89faf3e465bddd79 /keyboards/planck/keymaps/jeebak
parent6483a2a04b40ea7eb3ad56b5af10a4986b783fd6 (diff)
Fix KC_ALT_TAB/KC_CMD_TAB logic
Diffstat (limited to 'keyboards/planck/keymaps/jeebak')
-rw-r--r--keyboards/planck/keymaps/jeebak/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/jeebak/keymap.c b/keyboards/planck/keymaps/jeebak/keymap.c
index 4a3cc2d562..3b51e34e38 100644
--- a/keyboards/planck/keymaps/jeebak/keymap.c
+++ b/keyboards/planck/keymaps/jeebak/keymap.c
@@ -372,11 +372,11 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
switch (id) {
case KC_ALT_TAB:
- if(use_cmd) { return (record->event.pressed ? MACRO( D(LGUI), D(TAB), END ) : MACRO( U(TAB), END )); }
- else { return (record->event.pressed ? MACRO( D(LALT), D(TAB), END ) : MACRO( U(TAB), END )); }
- case KC_CMD_TAB:
if(use_cmd) { return (record->event.pressed ? MACRO( D(LALT), D(TAB), END ) : MACRO( U(TAB), END )); }
else { return (record->event.pressed ? MACRO( D(LGUI), D(TAB), END ) : MACRO( U(TAB), END )); }
+ case KC_CMD_TAB:
+ if(use_cmd) { return (record->event.pressed ? MACRO( D(LGUI), D(TAB), END ) : MACRO( U(TAB), END )); }
+ else { return (record->event.pressed ? MACRO( D(LALT), D(TAB), END ) : MACRO( U(TAB), END )); }
case KC_CTL_TAB:
return (record->event.pressed ? MACRO( D(LCTRL), D(TAB), END ) : MACRO( U(TAB), END ));