Skip to content

Commit

Permalink
fix: alt-tab fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
gicappa committed Apr 15, 2024
1 parent f3014bc commit c2e319d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 32 deletions.
3 changes: 0 additions & 3 deletions keyboards/dz60/keymaps/60_ansi_gk/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ enum custom_keycodes {
KC_GUI_SHIFT_TAB
};

#define GUI_TAB MO(KC_GUI_TAB) // Macro for Alt-Tab
#define G_S_TAB MO(KC_GUI_SHIFT_TAB)

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* Base (QWERTY) Layer [BASE] active by default
Expand Down
58 changes: 29 additions & 29 deletions keyboards/keebio/iris/keymaps/gk/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

// layers
#define BASE 0
#define FNKC 1
#define CODE 2
#define ONAN 3
#define ARRW 4
#define CODE 1
#define ONAN 2
#define ARRW 3
#define FNKC 4
#define MEDI 5
#define NUMS 6
#define EMPT 7
Expand Down Expand Up @@ -121,27 +121,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
XXXXXXX, L_ONAN, KC_SPACE, KC_SPACE, L_NUMS, XXXXXXX
),

/* Functions Layer [FNKC] active by holding Q or P
┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
| F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | F1 | F2 | F3 | F4 | |QK_BOOT |
├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | F5 | F6 | F7 | F8 | | |
├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | | | F9 | F10 | F11 | F12 | | |
└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
| | | | | | | |
└────────┴────────┴────────┘ └────────┴────────┴────────┘
*/
[FNKC] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
_______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, QK_BOOT,
_______, _______, _______, _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
_______, _______, _______, _______, _______, _______
),

/* Numbers layer [NUMS] active by holding ENTER
┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
| | | | | | | | | | | | | |
Expand All @@ -157,7 +136,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[NUMS] = LAYOUT(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, KC_BSPC, KC_DEL, _______, _______, _______, _______, _______, _______, KC_DEL, KC_BSPC, _______,
KC_ENT, KC_BSPC, KC_DEL, _______, _______, _______, _______, _______, _______, KC_DEL, KC_BSPC, KC_ENT,
KC_ENT, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_ENT,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______
Expand Down Expand Up @@ -205,15 +184,36 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______
),

/* Functions Layer [FNKC] active by holding Q or P
┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
| F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | F1 | F2 | F3 | F4 | |QK_BOOT |
├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | F5 | F6 | F7 | F8 | | |
├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | | | F9 | F10 | F11 | F12 | | |
└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
| | | | | | | |
└────────┴────────┴────────┘ └────────┴────────┴────────┘
*/
[FNKC] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
_______, _______, _______, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, QK_BOOT,
_______, _______, _______, _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
_______, _______, _______, _______, _______, _______
),

/* Arrows Layer [ARRW] active by holding A
┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐
| | | | | | | | | | | | | |
├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | PAG DN | UP | PAG UP | PR SCR | ScrLck | PAUSE |
| | | | | | | | | PAG DN | UP | PAG UP | ScrLck | PAUSE |
├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | LEFT | DOWN | RIGHT | RIGHT | | |
| | | | | | | | | LEFT | DOWN | RIGHT | PR SCR | |
├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤
| | | | | | | | | | HOME | INS | END | | | |
| | | | | | | | | | | HOME | INS | END | | |
└────────┴────────┴────────┴───┬────┴───┬────┴───┬────┴───┬────┘ └───┬────┴───┬────┴───┬────┴───┬────┴────────┴────────┴────────┘
| | | | | | | |
└────────┴────────┴────────┘ └────────┴────────┴────────┘
Expand Down

0 comments on commit c2e319d

Please sign in to comment.