diff options
| author | David Rambo <davrambo@gmail.com> | 2019-03-30 14:05:31 -0400 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-03-30 11:05:31 -0700 |
| commit | 4f7dd9edf8cf9b546d7c21fcefb7de09f92474db (patch) | |
| tree | 1aa6cb89ee2ed394b30bcd8c480bb1989d973765 /keyboards/xd75 | |
| parent | 93210547bd1bfbbb1ffd56801bb81af46af350a5 (diff) | |
| download | qmk_firmware-4f7dd9edf8cf9b546d7c21fcefb7de09f92474db.tar.gz qmk_firmware-4f7dd9edf8cf9b546d7c21fcefb7de09f92474db.zip | |
[Keymap] Updated my iris, planck, and xd75 keymaps (#5515)
* Updated iris, planck, and xd75 keymaps
* Added brightness down and up to commented layout of Symbol layer.
* updated config files for planck and iris
* removed unnecessary include lines from iris and planck config files
Diffstat (limited to 'keyboards/xd75')
| -rw-r--r-- | keyboards/xd75/keymaps/davidrambo/keymap.c | 112 | ||||
| -rw-r--r-- | keyboards/xd75/keymaps/davidrambo/readme.md | 11 |
2 files changed, 68 insertions, 55 deletions
diff --git a/keyboards/xd75/keymaps/davidrambo/keymap.c b/keyboards/xd75/keymaps/davidrambo/keymap.c index 442a00afd..a630affe0 100644 --- a/keyboards/xd75/keymaps/davidrambo/keymap.c +++ b/keyboards/xd75/keymaps/davidrambo/keymap.c | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | //aliases for clarity in layering | ||
| 3 | #define A_BSPC LALT(KC_BSPC) // delete whole word in Mac | 4 | #define A_BSPC LALT(KC_BSPC) // delete whole word in Mac |
| 4 | // #define C_BSPS LCTL(KC_BSPC) // delete whole word in PC; currently not in use | 5 | #define C_BSPS LCTL(KC_BSPC) // delete whole word in PC |
| 5 | #define A_LEFT LALT(KC_LEFT) | 6 | #define A_LEFT LALT(KC_LEFT) |
| 6 | #define A_RGHT LALT(KC_RGHT) | 7 | #define A_RGHT LALT(KC_RGHT) |
| 7 | #define C_RGHT LCTL(KC_RGHT) | 8 | #define C_RGHT LCTL(KC_RGHT) |
| @@ -10,42 +11,43 @@ | |||
| 10 | #define GBSPC LGUI_T(KC_BSPC) | 11 | #define GBSPC LGUI_T(KC_BSPC) |
| 11 | #define CBSPC LCTL_T(KC_BSPC) | 12 | #define CBSPC LCTL_T(KC_BSPC) |
| 12 | 13 | ||
| 13 | //internet browser tab shortcuts and window swapping for Mac and Win | 14 | // internet browser tab shortcuts and window/application swapping for Mac and Win |
| 14 | #define GSL LGUI(S(KC_LEFT)) // back one tab in Safari | 15 | #define GSL LGUI(S(KC_LEFT)) // back one tab in Safari |
| 15 | #define GSR LGUI(S(KC_RGHT)) // forward one tab in Safari | 16 | #define GSR LGUI(S(KC_RGHT)) // forward one tab in Safari |
| 16 | #define CTLPGDN LCTL(KC_PGDN) // back one tab on Windows | 17 | #define CTLPGDN LCTL(KC_PGDN) // back one tab on Windows |
| 17 | #define CTLPGUP LCTL(KC_PGUP) // forward one tab on Windows | 18 | #define CTLPGUP LCTL(KC_PGUP) // forward one tab on Windows |
| 18 | #define G_TAB LGUI(KC_TAB) // MAC: switch applications | 19 | #define G_TAB LGUI(KC_TAB) // Mac: switch applications |
| 19 | #define G_GRV LGUI(KC_GRV) // MAC: switch between windows within an application | 20 | #define G_GRV LGUI(KC_GRV) // Mac: switch between windows within an application |
| 20 | #define A_TAB LALT(KC_TAB) | 21 | #define A_TAB LALT(KC_TAB) |
| 21 | #define C_TAB LCTL(KC_TAB) | 22 | #define C_TAB LCTL(KC_TAB) |
| 22 | 23 | ||
| 23 | // | 24 | // navigation layers for both Mac OS X and Windows |
| 24 | #define NAV LT(3, KC_TAB) | 25 | #define NAV LT(4, KC_TAB) |
| 25 | #define NAVPC LT(4, KC_TAB) | 26 | #define NAVPC LT(5, KC_TAB) |
| 26 | 27 | ||
| 27 | // Layer shorthand | 28 | // Layer shorthand |
| 28 | #define _COLEMAK 0 | 29 | #define _COLEMAK 0 |
| 29 | #define _PC 1 | 30 | #define _PC 1 |
| 30 | #define _SYMBOL 2 //Function keys, numbers, symbols, Backlighting | 31 | #define _GAME 2 // Gaming layer |
| 31 | #define _NAV 3 //Navigation Layer on Mac | 32 | #define _SYMBOL 3 // Function keys, numbers, symbols, Backlighting |
| 32 | #define _NAVPC 4 //Navigation Layer on Win | 33 | #define _NAV 4 // Navigation Layer on Mac |
| 34 | #define _NAVPC 5 // Navigation Layer on Win | ||
| 33 | 35 | ||
| 34 | //tapdance declarations | 36 | // tapdance declarations |
| 35 | enum { | 37 | enum { |
| 36 | SFT_LCK | 38 | SFT_LCK |
| 37 | }; | 39 | }; |
| 38 | 40 | ||
| 39 | //alias for tapdance | 41 | // alias for tapdance |
| 40 | #define SftLck TD(SFT_LCK) | 42 | #define SftLck TD(SFT_LCK) |
| 41 | 43 | ||
| 42 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 44 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 43 | 45 | ||
| 44 | /* COLEMAK | 46 | /* COLEMAK |
| 45 | * .--------------------------------------------------------------------------------------------------------------------------------------. | 47 | * .--------------------------------------------------------------------------------------------------------------------------------------. |
| 46 | * | `~ | 1 | 2 | 3 | 4 | 5 | - | SWITCH | = | 6 | 7 | 8 | 9 | 0 | BACKSP | | 48 | * | `~ | 1 | 2 | 3 | 4 | 5 | -_ | PC | =+ | 6 | 7 | 8 | 9 | 0 | BACKSP | |
| 47 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| | 49 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------| |
| 48 | * | ESC/`~ | Q | W | F | P | G | [ | \ | ] | J | L | U | Y | ; | BACKSP | | 50 | * | ESC/`~ | Q | W | F | P | G | [ | \| | ] | J | L | U | Y | ; | BACKSP | |
| 49 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------| | 51 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------| |
| 50 | * | NAVTAB | A | S | D | F | G | PgUp |PlayPaus| ENTER | H | N | E | I | O | ' | | 52 | * | NAVTAB | A | S | D | F | G | PgUp |PlayPaus| ENTER | H | N | E | I | O | ' | |
| 51 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------| | 53 | * |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------| |
| @@ -55,24 +57,32 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 55 | * '--------------------------------------------------------------------------------------------------------------------------------------' | 57 | * '--------------------------------------------------------------------------------------------------------------------------------------' |
| 56 | */ | 58 | */ |
| 57 | 59 | ||
| 58 | [_COLEMAK] = { /* COLEMAK */ | 60 | [_COLEMAK] = LAYOUT_ortho_5x15( /* COLEMAK */ |
| 59 | { KC_GRV , KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, TG(1) , KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC }, | 61 | KC_GRV , KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, TG(1) , KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, |
| 60 | { KC_GESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_LBRC, KC_BSLS, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC }, | 62 | KC_GESC, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_LBRC, KC_BSLS, KC_RBRC, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
| 61 | { NAV , KC_A, KC_R, KC_S, KC_T, KC_D, KC_PGUP, KC_ESC , KC_ENT , KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT }, | 63 | NAV , KC_A, KC_R, KC_S, KC_T, KC_D, KC_PGUP, KC_ESC , KC_ENT , KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
| 62 | { SftLck , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_UP , KC_ENT , KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SftEnt }, | 64 | SftLck , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGDN, KC_UP , KC_ENT , KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, SftEnt , |
| 63 | { KC_DEL , KC_LGUI, KC_LCTL, KC_LALT, KC_LGUI, GBSPC, KC_LEFT, KC_DOWN, KC_RGHT, KC_SPC, MO(2) , KC_RGUI, KC_RALT, KC_RCTL, BL_STEP }, | 65 | KC_DEL , KC_LGUI, KC_LCTL, KC_LALT, KC_LGUI, GBSPC, KC_LEFT, KC_DOWN, KC_RGHT, KC_SPC, MO(3) , KC_RGUI, KC_RALT, KC_RCTL, BL_STEP |
| 64 | }, | 66 | ), |
| 65 | 67 | ||
| 66 | // Windows Layer: essentially swaps Control and GUI | 68 | // Windows Layer: essentially swaps Control and GUI |
| 67 | 69 | ||
| 68 | [_PC] = { /* WINDOWS */ | 70 | [_PC] = LAYOUT_ortho_5x15( /* WINDOWS */ |
| 69 | { _______, _______, _______, _______, _______, _______, _______, TG(0) , _______, _______, _______, _______, _______, _______, _______ }, | 71 | _______, _______, _______, _______, _______, _______, _______, TG(2) , _______, _______, _______, _______, _______, _______, _______, |
| 70 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }, | 72 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 71 | { NAVPC , _______, _______, _______, _______, _______, _______, KC_MPLY, _______, _______, _______, _______, _______, _______, _______ }, | 73 | NAVPC , _______, _______, _______, _______, _______, _______, KC_MPLY, _______, _______, _______, _______, _______, _______, _______, |
| 72 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ }, | 74 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 73 | { _______, KC_LCTL, KC_LGUI, _______, KC_LCTL, _______, _______, _______, _______, _______, _______, KC_RCTL, KC_RALT, KC_RGUI, _______ }, | 75 | _______, KC_LCTL, KC_LGUI, _______, KC_LCTL, _______, _______, _______, _______, _______, _______, KC_RCTL, KC_RALT, KC_RGUI, _______ |
| 74 | }, | 76 | ), |
| 75 | 77 | ||
| 78 | [_GAME] = LAYOUT_ortho_5x15( /* Gaming Layer */ | ||
| 79 | _______, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_F10 , KC_F11 , KC_F12 , _______, _______, _______, _______, _______, TO(0) , | ||
| 80 | KC_ESC , KC_T , KC_Q , KC_W , KC_E , KC_R , KC_F7 , KC_F8 , KC_F9 , KC_Y , KC_U , KC_I , KC_O , KC_P , _______, | ||
| 81 | KC_TAB , KC_LSFT, KC_A , KC_S , KC_D , KC_F , KC_F4 , KC_F5 , KC_F6 , KC_H , KC_J , KC_K , KC_L , KC_SCLN, _______, | ||
| 82 | KC_LALT, KC_LCTL, KC_Z , KC_X , KC_C , KC_V , KC_F1 , KC_F2 , KC_F3 , KC_N , KC_M , _______, _______, _______, KC_ENT , | ||
| 83 | _______, _______, _______, KC_G , KC_B , KC_SPC , KC_I , KC_M , _______, _______, KC_LEFT, KC_DOWN, KC_UP , KC_RGHT, _______ | ||
| 84 | ), | ||
| 85 | |||
| 76 | /* SYMBOL | 86 | /* SYMBOL |
| 77 | * .--------------------------------------------------------------------------------------------------------------------------------------. | 87 | * .--------------------------------------------------------------------------------------------------------------------------------------. |
| 78 | * | F12 | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | | 88 | * | F12 | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 | |
| @@ -87,30 +97,30 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 87 | * '--------------------------------------------------------------------------------------------------------------------------------------' | 97 | * '--------------------------------------------------------------------------------------------------------------------------------------' |
| 88 | */ | 98 | */ |
| 89 | 99 | ||
| 90 | [_SYMBOL] = { /* SYMBOL */ | 100 | [_SYMBOL] = LAYOUT_ortho_5x15( /* SYMBOL */ |
| 91 | { _______, KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , _______, _______, _______, KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , _______}, | 101 | KC_F12 , KC_F1 , KC_F2 , KC_F3 , KC_F4 , KC_F5 , _______, _______, _______, KC_F6 , KC_F7 , KC_F8 , KC_F9 , KC_F10 , KC_F11 , |
| 92 | { KC_LBRC, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , _______, _______, _______, KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_RBRC}, | 102 | KC_LBRC, KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , _______, _______, _______, KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_RBRC, |
| 93 | { _______, KC_EXLM, KC_AT , KC_HASH, KC_DLR , KC_PERC, _______, _______, _______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_EQL }, | 103 | _______, KC_EXLM, KC_AT , KC_HASH, KC_DLR , KC_PERC, _______, _______, _______, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_EQL , |
| 94 | { _______, KC_HOME, KC_END , BL_OFF , BL_ON , KC_F11 , _______, _______, _______, KC_F12 , KC_MINS, _______, _______, _______, _______}, | 104 | _______, KC_HOME, KC_END , BL_OFF , BL_ON , KC_F11 , _______, _______, _______, KC_F12 , KC_MINS, _______, _______, _______, _______, |
| 95 | { _______, _______, _______, _______, _______, A_BSPC , _______, _______, _______, _______, _______, _______, _______, _______, _______}, | 105 | _______, _______, _______, _______, _______, A_BSPC , _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 96 | }, | 106 | ), |
| 97 | 107 | ||
| 98 | 108 | ||
| 99 | [_NAV] = { /* NAVIGATION for Mac */ | 109 | [_NAV] = LAYOUT_ortho_5x15( /* NAVIGATION for Mac */ |
| 100 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}, | 110 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 101 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, C_TAB , A_LEFT, KC_UP, A_RGHT , KC_DEL , _______}, | 111 | _______, _______, _______, _______, _______, _______, _______, _______, _______, C_TAB , A_LEFT, KC_UP, A_RGHT , KC_DEL , _______, |
| 102 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, GSL , KC_LEFT, KC_DOWN, KC_RGHT, GSR , _______}, | 112 | _______, _______, _______, _______, _______, _______, _______, _______, _______, GSL , KC_LEFT, KC_DOWN, KC_RGHT, GSR , _______, |
| 103 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, G_TAB , ABSPC , KC_HOME, KC_END , G_GRV , _______}, | 113 | _______, _______, _______, _______, _______, _______, _______, _______, _______, G_TAB , A_BSPC , KC_HOME, KC_END , G_GRV , _______, |
| 104 | { RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}, | 114 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 105 | }, | 115 | ), |
| 106 | 116 | ||
| 107 | [_NAVPC] = { /* NAVIGATION FOR WINDOWS: replaces Alt with Control, GUI with Alt, and browser tab shortcuts*/ | 117 | [_NAVPC] = LAYOUT_ortho_5x15( /* NAVIGATION FOR WINDOWS: replaces Alt with Control, GUI with Alt, and browser tab shortcuts*/ |
| 108 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}, | 118 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 109 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, C_TAB , C_LEFT, KC_UP, C_RGHT , KC_DEL , _______}, | 119 | _______, _______, _______, _______, _______, _______, _______, _______, _______, C_TAB , C_LEFT, KC_UP, C_RGHT , KC_DEL , _______, |
| 110 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, CTLPGUP, KC_LEFT, KC_DOWN, KC_RGHT, CTLPGDN, _______}, | 120 | _______, _______, _______, _______, _______, _______, _______, _______, _______, CTLPGUP, KC_LEFT, KC_DOWN, KC_RGHT, CTLPGDN, _______, |
| 111 | { _______, _______, _______, _______, _______, _______, _______, _______, _______, A_TAB , CBSPC , KC_HOME, KC_END , _______, _______}, | 121 | _______, _______, _______, _______, _______, _______, _______, _______, _______, A_TAB , CBSPC , KC_HOME, KC_END , _______, _______, |
| 112 | { RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______}, | 122 | RESET , _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 113 | } | 123 | ) |
| 114 | }; | 124 | }; |
| 115 | 125 | ||
| 116 | // Shift vs capslock function. From bbaserdem's Planck keymap. | 126 | // Shift vs capslock function. From bbaserdem's Planck keymap. |
diff --git a/keyboards/xd75/keymaps/davidrambo/readme.md b/keyboards/xd75/keymaps/davidrambo/readme.md index 17b928c50..a53abc8af 100644 --- a/keyboards/xd75/keymaps/davidrambo/readme.md +++ b/keyboards/xd75/keymaps/davidrambo/readme.md | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | # A Colemak layout for XD75 with both Mac and Windows layers. | 1 | # XD75 |
| 2 | # These two layers share momentary toggle access to a "Symbol" layer, which is modeled after my Planck layout. | 2 | |
| 3 | # Each of the base Colemak layers have their own Navigation layers for the right hand to use arrows and shortcuts for both text editing and web browsing. | 3 | This is a Colemak layout for XD75 with both Mac and Windows layers. |
| 4 | # The rules.mk file overrides the XD75's "BACKLIGHT_ENABLE" with YES and also adds tap dance functionality. \ No newline at end of file | 4 | These two layers share momentary toggle access to a "Symbol" layer, which is modeled after my Planck layout (see planck/keymaps/davidrambo). |
| 5 | Each of the base Colemak layers have their own Navigation layers for the right hand to use arrows and shortcuts for both text editing and web browsing. | ||
| 6 | |||
| 7 | The rules.mk file overrides the XD75's "BACKLIGHT_ENABLE" with YES and also adds tap dance functionality. \ No newline at end of file | ||
