diff options
| author | Pekaso <pekaso34@gmail.com> | 2021-12-09 15:40:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-08 22:40:44 -0800 |
| commit | 7d30bd9cfe9713310e2df542f021b71623f860b1 (patch) | |
| tree | b61265f7c39840c1c1b552399fd4c584bf0be53e /keyboards/fortitude60 | |
| parent | a8d440e4e043dc8427f17c07631556d0ff3efc20 (diff) | |
| download | qmk_firmware-7d30bd9cfe9713310e2df542f021b71623f860b1.tar.gz qmk_firmware-7d30bd9cfe9713310e2df542f021b71623f860b1.zip | |
[Keyboard] Update Fortitude60 and add VIA support (#15265)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/fortitude60')
| -rw-r--r-- | keyboards/fortitude60/keymaps/default/keymap.c | 72 | ||||
| -rw-r--r-- | keyboards/fortitude60/keymaps/default/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/fortitude60/keymaps/via/config.h | 20 | ||||
| -rw-r--r-- | keyboards/fortitude60/keymaps/via/keymap.c | 127 | ||||
| -rw-r--r-- | keyboards/fortitude60/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/fortitude60/rev1/config.h | 6 | ||||
| -rw-r--r-- | keyboards/fortitude60/rules.mk | 3 |
7 files changed, 188 insertions, 43 deletions
diff --git a/keyboards/fortitude60/keymaps/default/keymap.c b/keyboards/fortitude60/keymaps/default/keymap.c index 8db5de904..0e6d8cc55 100644 --- a/keyboards/fortitude60/keymaps/default/keymap.c +++ b/keyboards/fortitude60/keymaps/default/keymap.c | |||
| @@ -41,12 +41,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 41 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | | 41 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | |
| 42 | * `---------------------------------------------------------------------' | 42 | * `---------------------------------------------------------------------' |
| 43 | */ | 43 | */ |
| 44 | [_QWERTY] = LAYOUT( \ | 44 | [_QWERTY] = LAYOUT( |
| 45 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 45 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, |
| 46 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, \ | 46 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, |
| 47 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, \ | 47 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, |
| 48 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 48 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , |
| 49 | KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_LCTL, KC_ENT, KC_SPC, RAISE, KC_RALT, KC_RGUI\ | 49 | KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_LCTL, KC_ENT, KC_SPC, RAISE, KC_RALT, KC_RGUI |
| 50 | ), | 50 | ), |
| 51 | 51 | ||
| 52 | /* Colemak | 52 | /* Colemak |
| @@ -62,12 +62,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 62 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | | 62 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | |
| 63 | * `---------------------------------------------------------------------' | 63 | * `---------------------------------------------------------------------' |
| 64 | */ | 64 | */ |
| 65 | [_COLEMAK] = LAYOUT( \ | 65 | [_COLEMAK] = LAYOUT( |
| 66 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 66 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, |
| 67 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, \ | 67 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
| 68 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, \ | 68 | KC_ESC, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
| 69 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , \ | 69 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , |
| 70 | KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_LCTL, KC_ENT, KC_SPC, RAISE, KC_RALT, KC_RGUI\ | 70 | KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_LCTL, KC_ENT, KC_SPC, RAISE, KC_RALT, KC_RGUI |
| 71 | ), | 71 | ), |
| 72 | 72 | ||
| 73 | /* Dvorak | 73 | /* Dvorak |
| @@ -83,12 +83,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 83 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | | 83 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | |
| 84 | * `---------------------------------------------------------------------' | 84 | * `---------------------------------------------------------------------' |
| 85 | */ | 85 | */ |
| 86 | [_DVORAK] = LAYOUT( \ | 86 | [_DVORAK] = LAYOUT( |
| 87 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 87 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, |
| 88 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, \ | 88 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_BSPC, |
| 89 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, \ | 89 | KC_ESC, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_SLSH, |
| 90 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_LBRC, KC_RBRC, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , \ | 90 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_LBRC, KC_RBRC, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_ENT , |
| 91 | KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_LCTL, KC_ENT, KC_SPC, RAISE, KC_RALT, KC_RGUI\ | 91 | KC_LGUI, KC_LALT, LOWER, KC_SPC, KC_LCTL, KC_ENT, KC_SPC, RAISE, KC_RALT, KC_RGUI |
| 92 | ), | 92 | ), |
| 93 | 93 | ||
| 94 | /* Lower | 94 | /* Lower |
| @@ -104,12 +104,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 104 | * | | | | | | | | | | | | 104 | * | | | | | | | | | | | |
| 105 | * `---------------------------------------------------------------------' | 105 | * `---------------------------------------------------------------------' |
| 106 | */ | 106 | */ |
| 107 | [_LOWER] = LAYOUT( \ | 107 | [_LOWER] = LAYOUT( |
| 108 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, \ | 108 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, |
| 109 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, \ | 109 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, |
| 110 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, \ | 110 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, |
| 111 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______,\ | 111 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, |
| 112 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______\ | 112 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 113 | ), | 113 | ), |
| 114 | 114 | ||
| 115 | /* Raise | 115 | /* Raise |
| @@ -125,12 +125,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 125 | * | | | | | | | | | | | | 125 | * | | | | | | | | | | | |
| 126 | * `---------------------------------------------------------------------' | 126 | * `---------------------------------------------------------------------' |
| 127 | */ | 127 | */ |
| 128 | [_RAISE] = LAYOUT( \ | 128 | [_RAISE] = LAYOUT( |
| 129 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, \ | 129 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, |
| 130 | KC_GRV, KC_1, KC_UP, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, \ | 130 | KC_GRV, KC_1, KC_UP, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, |
| 131 | KC_DEL, KC_LEFT, KC_DOWN, KC_RGHT, KC_F4, KC_F5, KC_F6,KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, \ | 131 | KC_DEL, KC_LEFT, KC_DOWN, KC_RGHT, KC_F4, KC_F5, KC_F6,KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, |
| 132 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, \ | 132 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, |
| 133 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______\ | 133 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 134 | ), | 134 | ), |
| 135 | 135 | ||
| 136 | /* Adjust (Lower + Raise) | 136 | /* Adjust (Lower + Raise) |
| @@ -146,12 +146,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 146 | * | | | | | | | | | | | | 146 | * | | | | | | | | | | | |
| 147 | * `---------------------------------------------------------------------' | 147 | * `---------------------------------------------------------------------' |
| 148 | */ | 148 | */ |
| 149 | [_ADJUST] = LAYOUT( \ | 149 | [_ADJUST] = LAYOUT( |
| 150 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, \ | 150 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, |
| 151 | _______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, KC_BSPC, \ | 151 | _______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, KC_BSPC, |
| 152 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, _______, BL_TOGG, BL_STEP, _______, _______, \ | 152 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, _______, BL_TOGG, BL_STEP, _______, _______, |
| 153 | QWERTY, COLEMAK, DVORAK, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ | 153 | QWERTY, COLEMAK, DVORAK, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 154 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______\ | 154 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 155 | ) | 155 | ) |
| 156 | 156 | ||
| 157 | 157 | ||
diff --git a/keyboards/fortitude60/keymaps/default/rules.mk b/keyboards/fortitude60/keymaps/default/rules.mk index 1964bd0a7..e69de29bb 100644 --- a/keyboards/fortitude60/keymaps/default/rules.mk +++ b/keyboards/fortitude60/keymaps/default/rules.mk | |||
| @@ -1,2 +0,0 @@ | |||
| 1 | RGBLIGHT_ENABLE = no | ||
| 2 | BACKLIGHT_ENABLE = no \ No newline at end of file | ||
diff --git a/keyboards/fortitude60/keymaps/via/config.h b/keyboards/fortitude60/keymaps/via/config.h new file mode 100644 index 000000000..ac47978ba --- /dev/null +++ b/keyboards/fortitude60/keymaps/via/config.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Danny Nguyen <danny@hexwire.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #define USE_SERIAL | ||
diff --git a/keyboards/fortitude60/keymaps/via/keymap.c b/keyboards/fortitude60/keymaps/via/keymap.c new file mode 100644 index 000000000..74d4b9fcc --- /dev/null +++ b/keyboards/fortitude60/keymaps/via/keymap.c | |||
| @@ -0,0 +1,127 @@ | |||
| 1 | /* Copyright 2021 Pekaso | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | |||
| 20 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 21 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 22 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 23 | // entirely and just use numbers. | ||
| 24 | enum my_layers { | ||
| 25 | _QWERTY, | ||
| 26 | _LOWER, | ||
| 27 | _RAISE, | ||
| 28 | _ADJUST | ||
| 29 | }; | ||
| 30 | |||
| 31 | enum custom_keycodes { | ||
| 32 | QWERTY = SAFE_RANGE, | ||
| 33 | LOWER, | ||
| 34 | RAISE, | ||
| 35 | ADJUST, | ||
| 36 | }; | ||
| 37 | |||
| 38 | #define LOWER MO(_LOWER) | ||
| 39 | #define RAISE MO(_RAISE) | ||
| 40 | |||
| 41 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 42 | |||
| 43 | /* Qwerty | ||
| 44 | * ,-----------------------------------------. ,-----------------------------------------. | ||
| 45 | * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Del | | ||
| 46 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | ||
| 47 | * | Tab | Q | W | E | R | T | | Y | U | I | O | P | Bksp | | ||
| 48 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | ||
| 49 | * | Esc | A | S | D | F | G | | H | J | K | L | ; | " | | ||
| 50 | * |------+------+------+------+------+------+-------------+------+------+------+------+------+------| | ||
| 51 | * | Shift| Z | X | C | V | B | [ | ] | N | M | , | . | / |Enter | | ||
| 52 | * `-------------+------+------+------+------+------+------+------+------+------+------+-------------' | ||
| 53 | * | GUI | Alt |Lower |Space | Ctrl |Enter |Space |Raise | Alt | GUI | | ||
| 54 | * `---------------------------------------------------------------------' | ||
| 55 | */ | ||
| 56 | [_QWERTY] = LAYOUT( | ||
| 57 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 58 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 59 | KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 60 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | ||
| 61 | KC_LGUI, KC_LALT, FN_MO13, KC_SPC, KC_LCTL, KC_ENT, KC_SPC,FN_MO23, KC_RALT, KC_RGUI | ||
| 62 | ), | ||
| 63 | |||
| 64 | /* Lower | ||
| 65 | * ,-----------------------------------------. ,-----------------------------------------. | ||
| 66 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | | | ||
| 67 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | ||
| 68 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | Del | | ||
| 69 | * |------+------+------+------+------+------| |------+------+------+------+------+------| | ||
| 70 | * | Del | F1 | F2 | F3 | F4 | F5 | | F6 | _ | + | | \ | | | | ||
| 71 | * |------+------+------+------+------+------+-------------+------+------+------+------+------+------| | ||
| 72 | * | | F7 | F8 | F9 | F10 | F11 | | | F12 |ISO ~ |ISO | | | | | | ||
| 73 | * `-------------+------+------+------+------+------+------+------+------+------+------+-------------' | ||
| 74 | * | | | | | | | | | | | | ||
| 75 | * `---------------------------------------------------------------------' | ||
| 76 | */ | ||
| 77 | [_LOWER] = LAYOUT( | ||
| 78 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, _______, | ||
| 79 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_DEL, | ||
| 80 | KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, | ||
| 81 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, _______, KC_F12,S(KC_NUHS),S(KC_NUBS),_______, _______, _______, | ||
| 82 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 83 | ), | ||
| 84 | |||
| 85 | /* Raise | ||
| 86 | * ,-----------------------------------------. ,-----------------------------------------. | ||
| 87 | * | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Del | | ||
| 88 | * |------+------+------+------+------+------. ,------+------+------+------+------+------| | ||
| 89 | * | ` | 1 | ↑ | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | Bksp | | ||
| 90 | * |------+------+------+------+------+------. ,------+------+------+------+------+------| | ||
| 91 | * | Del | ← | ↓ | → | F4 | F5 | | F6 | - | = | [ | ] | | | | ||
| 92 | * |------+------+------+------+------+------+-------------+------+------+------+------+------+------| | ||
| 93 | * | | F7 | F8 | F9 | F10 | F11 | | | F12 |ISO # |ISO / | | | | | ||
| 94 | * `-------------+------+------+------+------+------+------+------+------+------+------+-------------' | ||
| 95 | * | | | | | | | | | | | | ||
| 96 | * `---------------------------------------------------------------------' | ||
| 97 | */ | ||
| 98 | [_RAISE] = LAYOUT( | ||
| 99 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 100 | KC_GRV, KC_1, KC_UP, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | ||
| 101 | KC_DEL, KC_LEFT, KC_DOWN, KC_RGHT, KC_F4, KC_F5, KC_F6,KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 102 | _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, _______, _______, KC_F12, KC_NUHS, KC_NUBS, _______, _______, _______, | ||
| 103 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 104 | ), | ||
| 105 | |||
| 106 | /* Adjust (Lower + Raise) | ||
| 107 | * ,-----------------------------------------. ,-----------------------------------------. | ||
| 108 | * | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 109 | * |------+------+------+------+------+------. ,------+------+------+------+------+------| | ||
| 110 | * | | Reset|RGB Tg|RGB Md|Hue Up|Hue Dn| |Sat Up|Sat Dn|Val Up|Val Dn| | Bksp | | ||
| 111 | * |------+------+------+------+------+------. ,------+------+------+------+------+------| | ||
| 112 | * | | | |Aud on|Audoff|AGnorm| |AGswap| |BL TOG|BL STP| | | | ||
| 113 | * |------+------+------+------+------+------+-------------+------+------+------+------+------+------| | ||
| 114 | * | | | | | | | | | | | | | | | | ||
| 115 | * `-------------+------+------+------+------+------+------+------+------+------+------+-------------' | ||
| 116 | * | | | | | | | | | | | | ||
| 117 | * `---------------------------------------------------------------------' | ||
| 118 | */ | ||
| 119 | [_ADJUST] = LAYOUT( | ||
| 120 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 121 | _______, RESET , RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, _______, KC_BSPC, | ||
| 122 | _______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, _______, BL_TOGG, BL_STEP, _______, _______, | ||
| 123 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 124 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 125 | ) | ||
| 126 | |||
| 127 | }; | ||
diff --git a/keyboards/fortitude60/keymaps/via/rules.mk b/keyboards/fortitude60/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/fortitude60/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/fortitude60/rev1/config.h b/keyboards/fortitude60/rev1/config.h index 9d5104be5..472472329 100644 --- a/keyboards/fortitude60/rev1/config.h +++ b/keyboards/fortitude60/rev1/config.h | |||
| @@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 24 | #define PRODUCT_ID 0x1156 | 24 | #define PRODUCT_ID 0x1156 |
| 25 | #define DEVICE_VER 0x0100 | 25 | #define DEVICE_VER 0x0100 |
| 26 | #define MANUFACTURER Pekaso | 26 | #define MANUFACTURER Pekaso |
| 27 | #define PRODUCT The Fortitude60 Keyboard | 27 | #define PRODUCT Fortitude60 |
| 28 | 28 | ||
| 29 | /* key matrix size */ | 29 | /* key matrix size */ |
| 30 | // Rows are doubled-up | 30 | // Rows are doubled-up |
| @@ -43,10 +43,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 43 | */ | 43 | */ |
| 44 | #define SOFT_SERIAL_PIN D2 | 44 | #define SOFT_SERIAL_PIN D2 |
| 45 | 45 | ||
| 46 | #define EE_HANDS | 46 | //#define EE_HANDS |
| 47 | 47 | ||
| 48 | #define SPLIT_USB_DETECT | 48 | #define SPLIT_USB_DETECT |
| 49 | #define SPLIT_USB_TIMEOUT 1000 | 49 | #define SPLIT_USB_TIMEOUT 500 |
| 50 | 50 | ||
| 51 | /* define if matrix has ghost */ | 51 | /* define if matrix has ghost */ |
| 52 | //#define MATRIX_HAS_GHOST | 52 | //#define MATRIX_HAS_GHOST |
diff --git a/keyboards/fortitude60/rules.mk b/keyboards/fortitude60/rules.mk index a22abc789..afa77eb88 100644 --- a/keyboards/fortitude60/rules.mk +++ b/keyboards/fortitude60/rules.mk | |||
| @@ -11,12 +11,11 @@ BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | |||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 13 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | 14 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 15 | NKRO_ENABLE = no # Enable N-Key Rollover | 15 | NKRO_ENABLE = no # Enable N-Key Rollover |
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 18 | AUDIO_ENABLE = no # Audio output | 18 | AUDIO_ENABLE = no # Audio output |
| 19 | SLEEP_LED_ENABLE = yes | ||
| 20 | 19 | ||
| 21 | SPLIT_KEYBOARD = yes | 20 | SPLIT_KEYBOARD = yes |
| 22 | 21 | ||
