diff options
| author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-12-14 16:38:46 -0800 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-12-14 16:38:46 -0800 |
| commit | 039434caf96c77a8584f03ab2b27ed255e7adae5 (patch) | |
| tree | b2c7028deae7b647f180a8b7c8f1207bc733939d /keyboards/bpiphany | |
| parent | bb5262de0790ed3f4f91de20fad6e13fc0ffddc5 (diff) | |
| download | qmk_firmware-039434caf96c77a8584f03ab2b27ed255e7adae5.tar.gz qmk_firmware-039434caf96c77a8584f03ab2b27ed255e7adae5.zip | |
Keyboard: Bpiphany Pegasus Hoof Refactor, Configurator support (#4649)
* Pegasus Hoof: layout macro refactor
- Renamed KEYMAP to LAYOUT
- Added LAYOUT_tkl_ansi macro
- white space changes (changed tabs for 2 spaces)
* Pegasus Hoof: keymap refactor
- updated layout macro names
- changed to #include QMK_KEYBOARD_H
- removed redundant KC_TRNS definitions
- white space changes (changed tabs to spaces)
- removed deprecated build script instructions from rules.mk files
- updated config.h to #pragma once
* Pegasus Hoof: Configurator support
* Pegasus Hoof: readme cleanup
- Reformat header and description paragraph
- Fix Hardware Availability link (was 404)
- renamed filename to lowercase
* Pegasus Hoof: add LAYOUTS = tkl_ansi to rules.mk
* Pegasus Hoof: fix LAYOUT_tkl_jis macro
Diffstat (limited to 'keyboards/bpiphany')
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/info.json | 192 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c | 12 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/blowrak/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/citadel/config.h | 7 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c | 8 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/citadel/rules.mk | 7 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c | 64 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk | 9 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/pegasushoof.h | 66 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/readme.md (renamed from keyboards/bpiphany/pegasushoof/README.md) | 7 | ||||
| -rw-r--r-- | keyboards/bpiphany/pegasushoof/rules.mk | 3 |
11 files changed, 283 insertions, 101 deletions
diff --git a/keyboards/bpiphany/pegasushoof/info.json b/keyboards/bpiphany/pegasushoof/info.json new file mode 100644 index 000000000..c4fa28ac4 --- /dev/null +++ b/keyboards/bpiphany/pegasushoof/info.json | |||
| @@ -0,0 +1,192 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Pegasus Hoof", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 18.25, | ||
| 6 | "height": 6.5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"F1", "x":2, "y":0}, | ||
| 12 | {"label":"F2", "x":3, "y":0}, | ||
| 13 | {"label":"F3", "x":4, "y":0}, | ||
| 14 | {"label":"F4", "x":5, "y":0}, | ||
| 15 | {"label":"F5", "x":6.5, "y":0}, | ||
| 16 | {"label":"F6", "x":7.5, "y":0}, | ||
| 17 | {"label":"F7", "x":8.5, "y":0}, | ||
| 18 | {"label":"F8", "x":9.5, "y":0}, | ||
| 19 | {"label":"F9", "x":11, "y":0}, | ||
| 20 | {"label":"F10", "x":12, "y":0}, | ||
| 21 | {"label":"F11", "x":13, "y":0}, | ||
| 22 | {"label":"F12", "x":14, "y":0}, | ||
| 23 | {"label":"Print Screen", "x":15.25, "y":0}, | ||
| 24 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 25 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 26 | {"label":"`", "x":0, "y":1.5}, | ||
| 27 | {"label":"1", "x":1, "y":1.5}, | ||
| 28 | {"label":"2", "x":2, "y":1.5}, | ||
| 29 | {"label":"3", "x":3, "y":1.5}, | ||
| 30 | {"label":"4", "x":4, "y":1.5}, | ||
| 31 | {"label":"5", "x":5, "y":1.5}, | ||
| 32 | {"label":"6", "x":6, "y":1.5}, | ||
| 33 | {"label":"7", "x":7, "y":1.5}, | ||
| 34 | {"label":"8", "x":8, "y":1.5}, | ||
| 35 | {"label":"9", "x":9, "y":1.5}, | ||
| 36 | {"label":"0", "x":10, "y":1.5}, | ||
| 37 | {"label":"-", "x":11, "y":1.5}, | ||
| 38 | {"label":"=", "x":12, "y":1.5}, | ||
| 39 | {"label":"Backspace", "x":13, "y":1.5, "w":2}, | ||
| 40 | {"label":"Insert", "x":15.25, "y":1.5}, | ||
| 41 | {"label":"Home", "x":16.25, "y":1.5}, | ||
| 42 | {"label":"Page Up", "x":17.25, "y":1.5}, | ||
| 43 | {"label":"Tab", "x":0, "y":2.5, "w":1.5}, | ||
| 44 | {"label":"Q", "x":1.5, "y":2.5}, | ||
| 45 | {"label":"W", "x":2.5, "y":2.5}, | ||
| 46 | {"label":"E", "x":3.5, "y":2.5}, | ||
| 47 | {"label":"R", "x":4.5, "y":2.5}, | ||
| 48 | {"label":"T", "x":5.5, "y":2.5}, | ||
| 49 | {"label":"Y", "x":6.5, "y":2.5}, | ||
| 50 | {"label":"U", "x":7.5, "y":2.5}, | ||
| 51 | {"label":"I", "x":8.5, "y":2.5}, | ||
| 52 | {"label":"O", "x":9.5, "y":2.5}, | ||
| 53 | {"label":"P", "x":10.5, "y":2.5}, | ||
| 54 | {"label":"[", "x":11.5, "y":2.5}, | ||
| 55 | {"label":"]", "x":12.5, "y":2.5}, | ||
| 56 | {"label":"\\", "x":13.5, "y":2.5, "w":1.5}, | ||
| 57 | {"label":"Delete", "x":15.25, "y":2.5}, | ||
| 58 | {"label":"End", "x":16.25, "y":2.5}, | ||
| 59 | {"label":"Page Down", "x":17.25, "y":2.5}, | ||
| 60 | {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, | ||
| 61 | {"label":"A", "x":1.75, "y":3.5}, | ||
| 62 | {"label":"S", "x":2.75, "y":3.5}, | ||
| 63 | {"label":"D", "x":3.75, "y":3.5}, | ||
| 64 | {"label":"F", "x":4.75, "y":3.5}, | ||
| 65 | {"label":"G", "x":5.75, "y":3.5}, | ||
| 66 | {"label":"H", "x":6.75, "y":3.5}, | ||
| 67 | {"label":"J", "x":7.75, "y":3.5}, | ||
| 68 | {"label":"K", "x":8.75, "y":3.5}, | ||
| 69 | {"label":"L", "x":9.75, "y":3.5}, | ||
| 70 | {"label":";", "x":10.75, "y":3.5}, | ||
| 71 | {"label":"'", "x":11.75, "y":3.5}, | ||
| 72 | {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, | ||
| 73 | {"label":"Shift", "x":0, "y":4.5, "w":1.25}, | ||
| 74 | {"label":"ISO \\", "x":1.25, "y":4.5}, | ||
| 75 | {"label":"Z", "x":2.25, "y":4.5}, | ||
| 76 | {"label":"X", "x":3.25, "y":4.5}, | ||
| 77 | {"label":"C", "x":4.25, "y":4.5}, | ||
| 78 | {"label":"V", "x":5.25, "y":4.5}, | ||
| 79 | {"label":"B", "x":6.25, "y":4.5}, | ||
| 80 | {"label":"N", "x":7.25, "y":4.5}, | ||
| 81 | {"label":"M", "x":8.25, "y":4.5}, | ||
| 82 | {"label":",", "x":9.25, "y":4.5}, | ||
| 83 | {"label":".", "x":10.25, "y":4.5}, | ||
| 84 | {"label":"/", "x":11.25, "y":4.5}, | ||
| 85 | {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, | ||
| 86 | {"label":"Up", "x":16.25, "y":4.5}, | ||
| 87 | {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, | ||
| 88 | {"label":"GUI", "x":1.25, "y":5.5, "w":1.25}, | ||
| 89 | {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, | ||
| 90 | {"x":3.75, "y":5.5, "w":6.25}, | ||
| 91 | {"label":"AltGr", "x":10, "y":5.5, "w":1.25}, | ||
| 92 | {"label":"GUI", "x":11.25, "y":5.5, "w":1.25}, | ||
| 93 | {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, | ||
| 94 | {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, | ||
| 95 | {"label":"Left", "x":15.25, "y":5.5}, | ||
| 96 | {"label":"Down", "x":16.25, "y":5.5}, | ||
| 97 | {"label":"Right", "x":17.25, "y":5.5} | ||
| 98 | ] | ||
| 99 | }, | ||
| 100 | "LAYOUT_tkl_ansi": { | ||
| 101 | "layout": [ | ||
| 102 | {"label":"Esc", "x":0, "y":0}, | ||
| 103 | {"label":"F1", "x":2, "y":0}, | ||
| 104 | {"label":"F2", "x":3, "y":0}, | ||
| 105 | {"label":"F3", "x":4, "y":0}, | ||
| 106 | {"label":"F4", "x":5, "y":0}, | ||
| 107 | {"label":"F5", "x":6.5, "y":0}, | ||
| 108 | {"label":"F6", "x":7.5, "y":0}, | ||
| 109 | {"label":"F7", "x":8.5, "y":0}, | ||
| 110 | {"label":"F8", "x":9.5, "y":0}, | ||
| 111 | {"label":"F9", "x":11, "y":0}, | ||
| 112 | {"label":"F10", "x":12, "y":0}, | ||
| 113 | {"label":"F11", "x":13, "y":0}, | ||
| 114 | {"label":"F12", "x":14, "y":0}, | ||
| 115 | {"label":"Print Screen", "x":15.25, "y":0}, | ||
| 116 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 117 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 118 | {"label":"`", "x":0, "y":1.5}, | ||
| 119 | {"label":"1", "x":1, "y":1.5}, | ||
| 120 | {"label":"2", "x":2, "y":1.5}, | ||
| 121 | {"label":"3", "x":3, "y":1.5}, | ||
| 122 | {"label":"4", "x":4, "y":1.5}, | ||
| 123 | {"label":"5", "x":5, "y":1.5}, | ||
| 124 | {"label":"6", "x":6, "y":1.5}, | ||
| 125 | {"label":"7", "x":7, "y":1.5}, | ||
| 126 | {"label":"8", "x":8, "y":1.5}, | ||
| 127 | {"label":"9", "x":9, "y":1.5}, | ||
| 128 | {"label":"0", "x":10, "y":1.5}, | ||
| 129 | {"label":"-", "x":11, "y":1.5}, | ||
| 130 | {"label":"=", "x":12, "y":1.5}, | ||
| 131 | {"label":"Backspace", "x":13, "y":1.5, "w":2}, | ||
| 132 | {"label":"Insert", "x":15.25, "y":1.5}, | ||
| 133 | {"label":"Home", "x":16.25, "y":1.5}, | ||
| 134 | {"label":"Page Up", "x":17.25, "y":1.5}, | ||
| 135 | {"label":"Tab", "x":0, "y":2.5, "w":1.5}, | ||
| 136 | {"label":"Q", "x":1.5, "y":2.5}, | ||
| 137 | {"label":"W", "x":2.5, "y":2.5}, | ||
| 138 | {"label":"E", "x":3.5, "y":2.5}, | ||
| 139 | {"label":"R", "x":4.5, "y":2.5}, | ||
| 140 | {"label":"T", "x":5.5, "y":2.5}, | ||
| 141 | {"label":"Y", "x":6.5, "y":2.5}, | ||
| 142 | {"label":"U", "x":7.5, "y":2.5}, | ||
| 143 | {"label":"I", "x":8.5, "y":2.5}, | ||
| 144 | {"label":"O", "x":9.5, "y":2.5}, | ||
| 145 | {"label":"P", "x":10.5, "y":2.5}, | ||
| 146 | {"label":"[", "x":11.5, "y":2.5}, | ||
| 147 | {"label":"]", "x":12.5, "y":2.5}, | ||
| 148 | {"label":"\\", "x":13.5, "y":2.5, "w":1.5}, | ||
| 149 | {"label":"Delete", "x":15.25, "y":2.5}, | ||
| 150 | {"label":"End", "x":16.25, "y":2.5}, | ||
| 151 | {"label":"Page Down", "x":17.25, "y":2.5}, | ||
| 152 | {"label":"Caps Lock", "x":0, "y":3.5, "w":1.75}, | ||
| 153 | {"label":"A", "x":1.75, "y":3.5}, | ||
| 154 | {"label":"S", "x":2.75, "y":3.5}, | ||
| 155 | {"label":"D", "x":3.75, "y":3.5}, | ||
| 156 | {"label":"F", "x":4.75, "y":3.5}, | ||
| 157 | {"label":"G", "x":5.75, "y":3.5}, | ||
| 158 | {"label":"H", "x":6.75, "y":3.5}, | ||
| 159 | {"label":"J", "x":7.75, "y":3.5}, | ||
| 160 | {"label":"K", "x":8.75, "y":3.5}, | ||
| 161 | {"label":"L", "x":9.75, "y":3.5}, | ||
| 162 | {"label":";", "x":10.75, "y":3.5}, | ||
| 163 | {"label":"'", "x":11.75, "y":3.5}, | ||
| 164 | {"label":"Enter", "x":12.75, "y":3.5, "w":2.25}, | ||
| 165 | {"label":"Shift", "x":0, "y":4.5, "w":2.25}, | ||
| 166 | {"label":"Z", "x":2.25, "y":4.5}, | ||
| 167 | {"label":"X", "x":3.25, "y":4.5}, | ||
| 168 | {"label":"C", "x":4.25, "y":4.5}, | ||
| 169 | {"label":"V", "x":5.25, "y":4.5}, | ||
| 170 | {"label":"B", "x":6.25, "y":4.5}, | ||
| 171 | {"label":"N", "x":7.25, "y":4.5}, | ||
| 172 | {"label":"M", "x":8.25, "y":4.5}, | ||
| 173 | {"label":",", "x":9.25, "y":4.5}, | ||
| 174 | {"label":".", "x":10.25, "y":4.5}, | ||
| 175 | {"label":"/", "x":11.25, "y":4.5}, | ||
| 176 | {"label":"Shift", "x":12.25, "y":4.5, "w":2.75}, | ||
| 177 | {"label":"Up", "x":16.25, "y":4.5}, | ||
| 178 | {"label":"Ctrl", "x":0, "y":5.5, "w":1.25}, | ||
| 179 | {"label":"GUI", "x":1.25, "y":5.5, "w":1.25}, | ||
| 180 | {"label":"Alt", "x":2.5, "y":5.5, "w":1.25}, | ||
| 181 | {"x":3.75, "y":5.5, "w":6.25}, | ||
| 182 | {"label":"AltGr", "x":10, "y":5.5, "w":1.25}, | ||
| 183 | {"label":"GUI", "x":11.25, "y":5.5, "w":1.25}, | ||
| 184 | {"label":"Menu", "x":12.5, "y":5.5, "w":1.25}, | ||
| 185 | {"label":"Ctrl", "x":13.75, "y":5.5, "w":1.25}, | ||
| 186 | {"label":"Left", "x":15.25, "y":5.5}, | ||
| 187 | {"label":"Down", "x":16.25, "y":5.5}, | ||
| 188 | {"label":"Right", "x":17.25, "y":5.5} | ||
| 189 | ] | ||
| 190 | } | ||
| 191 | } | ||
| 192 | } | ||
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c b/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c index 6faf4db6f..7db7e5d39 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c +++ b/keyboards/bpiphany/pegasushoof/keymaps/blowrak/keymap.c | |||
| @@ -15,9 +15,7 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "pegasushoof.h" | 18 | #include QMK_KEYBOARD_H |
| 19 | |||
| 20 | #define _______ KC_TRNS | ||
| 21 | 19 | ||
| 22 | /* Swedish keys */ | 20 | /* Swedish keys */ |
| 23 | #define SE_HALF KC_GRV | 21 | #define SE_HALF KC_GRV |
| @@ -44,7 +42,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 44 | 42 | ||
| 45 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 43 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 46 | /* Layer 0: Blowrak ISO layer, a Swedish take on Dvorak */ | 44 | /* Layer 0: Blowrak ISO layer, a Swedish take on Dvorak */ |
| 47 | [KM_BLOWRAK] = KEYMAP( \ | 45 | [KM_BLOWRAK] = LAYOUT( \ |
| 48 | KC_ESC, 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_PSCR,KC_SLCK,KC_PAUS, \ | 46 | KC_ESC, 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_PSCR,KC_SLCK,KC_PAUS, \ |
| 49 | SE_HALF, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SE_PLUS,SE_ACUT,KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ | 47 | SE_HALF, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SE_PLUS,SE_ACUT,KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ |
| 50 | KC_TAB, SE_AO, SE_AE, SE_OE, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_COMM,SE_CIRC,SE_QUOT, KC_DEL, KC_END, KC_PGDN, \ | 48 | KC_TAB, SE_AO, SE_AE, SE_OE, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_COMM,SE_CIRC,SE_QUOT, KC_DEL, KC_END, KC_PGDN, \ |
| @@ -52,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 52 | KC_LSFT, SE_LTGT,KC_DOT, KC_Q, KC_J, KC_K, KC_B, KC_X, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, KC_UP, \ | 50 | KC_LSFT, SE_LTGT,KC_DOT, KC_Q, KC_J, KC_K, KC_B, KC_X, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, KC_UP, \ |
| 53 | KC_FN0, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI,KC_MENU,KC_FN1, KC_LEFT,KC_DOWN,KC_RGHT), | 51 | KC_FN0, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI,KC_MENU,KC_FN1, KC_LEFT,KC_DOWN,KC_RGHT), |
| 54 | /* Layer 1: Standard ISO layer */ | 52 | /* Layer 1: Standard ISO layer */ |
| 55 | [KM_QWERTY] = KEYMAP( \ | 53 | [KM_QWERTY] = LAYOUT( \ |
| 56 | KC_ESC, 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_PSCR,KC_SLCK,KC_PAUS, \ | 54 | KC_ESC, 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_PSCR,KC_SLCK,KC_PAUS, \ |
| 57 | SE_HALF, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SE_PLUS,SE_ACUT,KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ | 55 | SE_HALF, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, SE_PLUS,SE_ACUT,KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ |
| 58 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, SE_AO, SE_CIRC,SE_QUOT, KC_DEL, KC_END, KC_PGDN, \ | 56 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, SE_AO, SE_CIRC,SE_QUOT, KC_DEL, KC_END, KC_PGDN, \ |
| @@ -60,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 60 | KC_LSFT, SE_LTGT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, SE_MINS, KC_RSFT, KC_UP, \ | 58 | KC_LSFT, SE_LTGT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, SE_MINS, KC_RSFT, KC_UP, \ |
| 61 | KC_FN0, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI,KC_MENU,KC_FN1, KC_LEFT,KC_DOWN,KC_RGHT), | 59 | KC_FN0, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI,KC_MENU,KC_FN1, KC_LEFT,KC_DOWN,KC_RGHT), |
| 62 | /* Layer 2: Media layer */ | 60 | /* Layer 2: Media layer */ |
| 63 | [KM_MEDIA] = KEYMAP( \ | 61 | [KM_MEDIA] = LAYOUT( \ |
| 64 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, KC_WAKE,KC_PWR, KC_SLEP, \ | 62 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, KC_WAKE,KC_PWR, KC_SLEP, \ |
| 65 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,KC_VOLU, \ | 63 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,KC_VOLU, \ |
| 66 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, KC_MUTE,_______,KC_VOLD, \ | 64 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, KC_MUTE,_______,KC_VOLD, \ |
| @@ -68,7 +66,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 68 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, KC_MPLY, \ | 66 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, KC_MPLY, \ |
| 69 | _______,_______,_______, _______, _______,_______,RESET ,_______, KC_MPRV,KC_MSTP,KC_MNXT), | 67 | _______,_______,_______, _______, _______,_______,RESET ,_______, KC_MPRV,KC_MSTP,KC_MNXT), |
| 70 | /* Layer 3: Programming layer */ | 68 | /* Layer 3: Programming layer */ |
| 71 | [KM_HAXHAX] = KEYMAP( \ | 69 | [KM_HAXHAX] = LAYOUT( \ |
| 72 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ | 70 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ |
| 73 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ | 71 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ |
| 74 | _______,SE_LCBR,SE_PIPE,SE_RCBR,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ | 72 | _______,SE_LCBR,SE_PIPE,SE_RCBR,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ |
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/blowrak/rules.mk b/keyboards/bpiphany/pegasushoof/keymaps/blowrak/rules.mk index 7a616ee5f..8254a8389 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/blowrak/rules.mk +++ b/keyboards/bpiphany/pegasushoof/keymaps/blowrak/rules.mk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Build Options | 1 | # Build Options |
| 2 | # change to "no" to disable the options, or define them in the Makefile in | 2 | # change to "no" to disable the options, or define them in the Makefile in |
| 3 | # the appropriate keymap folder that will get included automatically | 3 | # the appropriate keymap folder that will get included automatically |
| 4 | # | 4 | # |
| 5 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | 5 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) |
| @@ -14,9 +14,4 @@ MIDI_ENABLE = no # MIDI controls | |||
| 14 | AUDIO_ENABLE = no # Audio output on port C6 | 14 | AUDIO_ENABLE = no # Audio output on port C6 |
| 15 | UNICODE_ENABLE = no # Unicode | 15 | UNICODE_ENABLE = no # Unicode |
| 16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 18 | |||
| 19 | |||
| 20 | ifndef QUANTUM_DIR | ||
| 21 | include ../../../../Makefile | ||
| 22 | endif | ||
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/citadel/config.h b/keyboards/bpiphany/pegasushoof/keymaps/citadel/config.h index 2d27ff392..122627e88 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/citadel/config.h +++ b/keyboards/bpiphany/pegasushoof/keymaps/citadel/config.h | |||
| @@ -1,11 +1,6 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | 2 | ||
| 6 | /* overridden settings: */ | 3 | /* overridden settings: */ |
| 7 | 4 | ||
| 8 | #undef PRODUCT | 5 | #undef PRODUCT |
| 9 | #define PRODUCT Pegasus Hoof Citadel | 6 | #define PRODUCT Pegasus Hoof Citadel |
| 10 | |||
| 11 | #endif | ||
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c b/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c index 382854de9..79f07d3bb 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c +++ b/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include "pegasushoof.h" | 17 | #include QMK_KEYBOARD_H |
| 18 | 18 | ||
| 19 | /* Allow shortcuts for combos like RALT(KC_RBRC) that don't take up more than 7 characters: */ | 19 | /* Allow shortcuts for combos like RALT(KC_RBRC) that don't take up more than 7 characters: */ |
| 20 | #define G(kc) RALT(KC_##kc) | 20 | #define G(kc) RALT(KC_##kc) |
| @@ -58,7 +58,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 58 | * '------------------------------------------------------------------------' '--------------' | 58 | * '------------------------------------------------------------------------' '--------------' |
| 59 | * NUHS = true position of KC_NUHS | 59 | * NUHS = true position of KC_NUHS |
| 60 | */ | 60 | */ |
| 61 | [DEF] = KEYMAP( \ | 61 | [DEF] = LAYOUT( \ |
| 62 | KC_ESC, 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_PSCR,KC_SLCK,TD(AF4), \ | 62 | KC_ESC, 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_PSCR,KC_SLCK,TD(AF4), \ |
| 63 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,KC_EQL, KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ | 63 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,KC_EQL, KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ |
| 64 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,KC_NUHS, KC_DEL, KC_END, KC_PGDN, \ | 64 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,KC_NUHS, KC_DEL, KC_END, KC_PGDN, \ |
| @@ -89,7 +89,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 89 | * '------------------------------------------------------------------------' '--------------' | 89 | * '------------------------------------------------------------------------' '--------------' |
| 90 | * | 90 | * |
| 91 | */ | 91 | */ |
| 92 | [FUN] = KEYMAP( \ | 92 | [FUN] = LAYOUT( \ |
| 93 | CTALDEL, KC_MYCM,KC_WHOM,KC_CALC,KC_MSEL,KC_MPRV,KC_MNXT,KC_MPLY,KC_MSTP,KC_MUTE,KC_VOLD,KC_VOLU,MO(RES), _______,KC_SLCK,KC_PAUS, \ | 93 | CTALDEL, KC_MYCM,KC_WHOM,KC_CALC,KC_MSEL,KC_MPRV,KC_MNXT,KC_MPLY,KC_MSTP,KC_MUTE,KC_VOLD,KC_VOLU,MO(RES), _______,KC_SLCK,KC_PAUS, \ |
| 94 | _______,_______,_______,_______,_______,_______,_______,G(7), G(8), G(9), G(0), G(MINS),_______,_______, _______,_______,KC_WH_U, \ | 94 | _______,_______,_______,_______,_______,_______,_______,G(7), G(8), G(9), G(0), G(MINS),_______,_______, _______,_______,KC_WH_U, \ |
| 95 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,G(RBRC),_______, _______,_______,KC_WH_D, \ | 95 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,G(RBRC),_______, _______,_______,KC_WH_D, \ |
| @@ -99,7 +99,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 99 | 99 | ||
| 100 | 100 | ||
| 101 | /* Layer 3: Reset layer (prevents accidental resets) */ | 101 | /* Layer 3: Reset layer (prevents accidental resets) */ |
| 102 | [RES] = KEYMAP( \ | 102 | [RES] = LAYOUT( \ |
| 103 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ | 103 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ |
| 104 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ | 104 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ |
| 105 | _______,_______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ | 105 | _______,_______,_______,_______,RESET, _______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,_______, \ |
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/citadel/rules.mk b/keyboards/bpiphany/pegasushoof/keymaps/citadel/rules.mk index 4cec29477..3eb289a71 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/citadel/rules.mk +++ b/keyboards/bpiphany/pegasushoof/keymaps/citadel/rules.mk | |||
| @@ -13,10 +13,5 @@ MIDI_ENABLE = no # MIDI controls | |||
| 13 | AUDIO_ENABLE = no # Audio output on port C6 | 13 | AUDIO_ENABLE = no # Audio output on port C6 |
| 14 | UNICODE_ENABLE = no # Unicode | 14 | UNICODE_ENABLE = no # Unicode |
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 16 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 17 | TAP_DANCE_ENABLE = yes # see https://docs.qmk.fm/#/feature_tap_dance (+1000) | 17 | TAP_DANCE_ENABLE = yes # see https://docs.qmk.fm/#/feature_tap_dance (+1000) |
| 18 | |||
| 19 | |||
| 20 | ifndef QUANTUM_DIR | ||
| 21 | include ../../../../Makefile | ||
| 22 | endif | ||
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c b/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c index aa006b23a..621441b90 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c +++ b/keyboards/bpiphany/pegasushoof/keymaps/default/keymap.c | |||
| @@ -15,46 +15,42 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "pegasushoof.h" | 18 | #include QMK_KEYBOARD_H |
| 19 | |||
| 20 | #define _______ KC_TRNS | ||
| 21 | 19 | ||
| 22 | #define KM_QWERTY 0 | 20 | #define KM_QWERTY 0 |
| 23 | #define KM_MEDIA 1 | 21 | #define KM_MEDIA 1 |
| 24 | 22 | ||
| 25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 26 | /* Layer 0: Standard ISO layer */ | 24 | /* Layer 0: Standard ISO layer */ |
| 27 | [KM_QWERTY] = KEYMAP( \ | 25 | [KM_QWERTY] = LAYOUT( \ |
| 28 | KC_ESC, 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_PSCR,KC_SLCK,KC_PAUS, \ | 26 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, \ |
| 29 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,KC_EQL, KC_BSPC, KC_INS, KC_HOME,KC_PGUP, \ | 27 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, \ |
| 30 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,KC_BSLS, KC_DEL, KC_END, KC_PGDN, \ | 28 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, \ |
| 31 | KC_CLCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT, \ | 29 | KC_CLCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ |
| 32 | KC_LSFT, KC_NUBS,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \ | 30 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \ |
| 33 | KC_LCTL, KC_LGUI,KC_LALT, KC_SPC, KC_RALT,KC_RGUI,KC_MENU,KC_FN0, KC_LEFT,KC_DOWN,KC_RGHT), | 31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, MO(1), KC_LEFT, KC_DOWN, KC_RGHT \ |
| 34 | /* Layer 1: Function layer */ | 32 | ), |
| 35 | [KM_MEDIA] = KEYMAP( \ | 33 | /* Layer 1: Function layer */ |
| 36 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, KC_WAKE,KC_PWR, KC_SLEP, \ | 34 | [KM_MEDIA] = LAYOUT( \ |
| 37 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,KC_VOLU, \ | 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_WAKE, KC_PWR, KC_SLEP, \ |
| 38 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______,_______,KC_VOLD, \ | 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, \ |
| 39 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, \ | 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLD, \ |
| 40 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, _______, KC_MPLY, \ | 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, \ |
| 41 | _______,_______,_______, _______, _______,_______,RESET ,_______, KC_MPRV,KC_MSTP,KC_MNXT) | 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, \ |
| 42 | }; | 40 | _______, _______, _______, _______, _______, _______, RESET, _______, KC_MPRV, KC_MSTP, KC_MNXT \ |
| 43 | 41 | ) | |
| 44 | const uint16_t PROGMEM fn_actions[] = { | ||
| 45 | [0] = ACTION_LAYER_MOMENTARY(KM_MEDIA) | ||
| 46 | }; | 42 | }; |
| 47 | 43 | ||
| 48 | void led_set_user(uint8_t usb_led) { | 44 | void led_set_user(uint8_t usb_led) { |
| 49 | if (usb_led & (1 << USB_LED_CAPS_LOCK)) { | 45 | if (usb_led & (1 << USB_LED_CAPS_LOCK)) { |
| 50 | ph_caps_led_on(); | 46 | ph_caps_led_on(); |
| 51 | } else { | 47 | } else { |
| 52 | ph_caps_led_off(); | 48 | ph_caps_led_off(); |
| 53 | } | 49 | } |
| 54 | 50 | ||
| 55 | if (usb_led & (1 << USB_LED_SCROLL_LOCK)) { | 51 | if (usb_led & (1 << USB_LED_SCROLL_LOCK)) { |
| 56 | ph_sclk_led_on(); | 52 | ph_sclk_led_on(); |
| 57 | } else { | 53 | } else { |
| 58 | ph_sclk_led_off(); | 54 | ph_sclk_led_off(); |
| 59 | } | 55 | } |
| 60 | } | 56 | } |
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk b/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk index 7a616ee5f..8254a8389 100644 --- a/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk +++ b/keyboards/bpiphany/pegasushoof/keymaps/default/rules.mk | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Build Options | 1 | # Build Options |
| 2 | # change to "no" to disable the options, or define them in the Makefile in | 2 | # change to "no" to disable the options, or define them in the Makefile in |
| 3 | # the appropriate keymap folder that will get included automatically | 3 | # the appropriate keymap folder that will get included automatically |
| 4 | # | 4 | # |
| 5 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | 5 | BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) |
| @@ -14,9 +14,4 @@ MIDI_ENABLE = no # MIDI controls | |||
| 14 | AUDIO_ENABLE = no # Audio output on port C6 | 14 | AUDIO_ENABLE = no # Audio output on port C6 |
| 15 | UNICODE_ENABLE = no # Unicode | 15 | UNICODE_ENABLE = no # Unicode |
| 16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 18 | |||
| 19 | |||
| 20 | ifndef QUANTUM_DIR | ||
| 21 | include ../../../../Makefile | ||
| 22 | endif | ||
diff --git a/keyboards/bpiphany/pegasushoof/pegasushoof.h b/keyboards/bpiphany/pegasushoof/pegasushoof.h index 939a854cd..b91235aad 100644 --- a/keyboards/bpiphany/pegasushoof/pegasushoof.h +++ b/keyboards/bpiphany/pegasushoof/pegasushoof.h | |||
| @@ -21,25 +21,39 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 21 | #include "matrix.h" | 21 | #include "matrix.h" |
| 22 | #include "quantum.h" | 22 | #include "quantum.h" |
| 23 | 23 | ||
| 24 | #define ___ KC_NO | 24 | #define LAYOUT( \ |
| 25 | KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \ | ||
| 26 | KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \ | ||
| 27 | KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KO3, KQ4, KC5, KE5, \ | ||
| 28 | KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO1, \ | ||
| 29 | KB2, KH6, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \ | ||
| 30 | KP4, KD2, KN6, KQ6, KN0, KA3, KM0, KP1, KC0, KQ0, KR0 \ | ||
| 31 | ) { /* 00-A 01-B 02-C 03-D 04-E 05-F 06-G 07-H 08-I 09-J 10-K 11-L 12-M 13-N 14-O 15-P 16-Q 17-R */ \ | ||
| 32 | /* 0 */ { KC_NO , KC_NO , KC0 , KC_NO , KC_NO , KF0 , KC_NO , KC_NO , KC_NO , KJ0 , KK0 , KC_NO , KM0 , KN0 , KO0 , KC_NO , KQ0 , KR0 }, \ | ||
| 33 | /* 1 */ { KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KG1 , KH1 , KI1 , KJ1 , KK1 , KL1 , KM1 , KC_NO , KO1 , KP1 , KC_NO , KC_NO }, \ | ||
| 34 | /* 2 */ { KC_NO , KB2 , KC_NO , KD2 , KC_NO , KF2 , KG2 , KH2 , KI2 , KJ2 , KK2 , KL2 , KM2 , KC_NO , KO2 , KC_NO , KC_NO , KC_NO }, \ | ||
| 35 | /* 3 */ { KA3 , KB3 , KC_NO , KC_NO , KC_NO , KF3 , KG3 , KH3 , KI3 , KJ3 , KK3 , KL3 , KM3 , KC_NO , KO3 , KC_NO , KC_NO , KC_NO }, \ | ||
| 36 | /* 4 */ { KC_NO , KC_NO , KC4 , KC_NO , KE4 , KF4 , KG4 , KH4 , KI4 , KJ4 , KK4 , KL4 , KM4 , KC_NO , KO4 , KP4 , KQ4 , KR4 }, \ | ||
| 37 | /* 5 */ { KC_NO , KC_NO , KC5 , KC_NO , KE5 , KF5 , KG5 , KH5 , KI5 , KJ5 , KK5 , KL5 , KM5 , KN5 , KO5 , KP5 , KC_NO , KC_NO }, \ | ||
| 38 | /* 6 */ { KC_NO , KC_NO , KC6 , KC_NO , KC_NO , KF6 , KG6 , KH6 , KI6 , KJ6 , KK6 , KL6 , KC_NO , KN6 , KO6 , KC_NO , KQ6 , KC_NO }, \ | ||
| 39 | /* 7 */ { KC_NO , KC_NO , KC_NO , KC_NO , KC_NO , KF7 , KG7 , KH7 , KI7 , KJ7 , KK7 , KL7 , KM7 , KN7 , KC_NO , KP7 , KC_NO , KC_NO } \ | ||
| 40 | } | ||
| 25 | 41 | ||
| 26 | #define KEYMAP( \ | 42 | #define LAYOUT_tkl_ansi( \ |
| 27 | KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \ | 43 | KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \ |
| 28 | KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \ | 44 | KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \ |
| 29 | KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KO3, KQ4, KC5, KE5, \ | 45 | KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KO3, KQ4, KC5, KE5, \ |
| 30 | KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO1, \ | 46 | KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO1, \ |
| 31 | KB2, KH6, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \ | 47 | KB2, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \ |
| 32 | KP4, KD2, KN6, KQ6, KN0, KA3, KM0, KP1, KC0, KQ0, KR0 \ | 48 | KP4, KD2, KN6, KQ6, KN0, KA3, KM0, KP1, KC0, KQ0, KR0 \ |
| 33 | ) { /* 00-A 01-B 02-C 03-D 04-E 05-F 06-G 07-H 08-I 09-J 10-K 11-L 12-M 13-N 14-O 15-P 16-Q 17-R */ \ | 49 | ) LAYOUT( \ |
| 34 | /* 0 */ { ___ , ___ , KC0 , ___ , ___ , KF0 , ___ , ___ , ___ , KJ0 , KK0 , ___ , KM0 , KN0 , KO0 , ___ , KQ0 , KR0 }, \ | 50 | KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \ |
| 35 | /* 1 */ { ___ , ___ , ___ , ___ , ___ , ___ , KG1 , KH1 , KI1 , KJ1 , KK1 , KL1 , KM1 , ___ , KO1 , KP1 , ___ , ___ }, \ | 51 | KG4, KG5, KH5, KI5, KJ5, KJ4, KK4, KK5, KL5, KM5, KF5, KF4, KL4, KO2, KR4, KC4, KE4, \ |
| 36 | /* 2 */ { ___ , KB2 , ___ , KD2 , ___ , KF2 , KG2 , KH2 , KI2 , KJ2 , KK2 , KL2 , KM2 , ___ , KO2 , ___ , ___ , ___ }, \ | 52 | KG2, KG7, KH7, KI7, KJ7, KJ2, KK2, KK7, KL7, KM7, KF7, KF2, KL2, KO3, KQ4, KC5, KE5, \ |
| 37 | /* 3 */ { KA3 , KB3 , ___ , ___ , ___ , KF3 , KG3 , KH3 , KI3 , KJ3 , KK3 , KL3 , KM3 , ___ , KO3 , ___ , ___ , ___ }, \ | 53 | KH2, KG3, KH3, KI3, KJ3, KJ6, KK6, KK3, KL3, KM3, KF3, KF6, KO1, \ |
| 38 | /* 4 */ { ___ , ___ , KC4 , ___ , KE4 , KF4 , KG4 , KH4 , KI4 , KJ4 , KK4 , KL4 , KM4 , ___ , KO4 , KP4 , KQ4 , KR4 }, \ | 54 | KB2,KC_NO,KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KB3, KC6, \ |
| 39 | /* 5 */ { ___ , ___ , KC5 , ___ , KE5 , KF5 , KG5 , KH5 , KI5 , KJ5 , KK5 , KL5 , KM5 , KN5 , KO5 , KP5 , ___ , ___ }, \ | 55 | KP4, KD2, KN6, KQ6, KN0, KA3, KM0, KP1, KC0, KQ0, KR0 \ |
| 40 | /* 6 */ { ___ , ___ , KC6 , ___ , ___ , KF6 , KG6 , KH6 , KI6 , KJ6 , KK6 , KL6 , ___ , KN6 , KO6 , ___ , KQ6 , ___ }, \ | 56 | ) |
| 41 | /* 7 */ { ___ , ___ , ___ , ___ , ___ , KF7 , KG7 , KH7 , KI7 , KJ7 , KK7 , KL7 , KM7 , KN7 , ___ , KP7 , ___ , ___ }, \ | ||
| 42 | } | ||
| 43 | 57 | ||
| 44 | #define LAYOUT_tkl_jis( \ | 58 | #define LAYOUT_tkl_jis( \ |
| 45 | KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \ | 59 | KG6, KH4, KI4, KI2, KI6, KP5, KL6, KM2, KM4, KO4, KO5, KO6, KO0, KN5, KN7, KP7, \ |
| @@ -49,14 +63,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 49 | KB2, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KL0, KB3, KC6, \ | 63 | KB2, KG1, KH1, KI1, KJ1, KJ0, KK0, KK1, KL1, KM1, KF0, KL0, KB3, KC6, \ |
| 50 | KP4, KD2, KN6, KG0, KQ6, KH0, KI0, KN0, KM0, KP1, KC0, KQ0, KR0 \ | 64 | KP4, KD2, KN6, KG0, KQ6, KH0, KI0, KN0, KM0, KP1, KC0, KQ0, KR0 \ |
| 51 | ) { /* 00-A 01-B 02-C 03-D 04-E 05-F 06-G 07-H 08-I 09-J 10-K 11-L 12-M 13-N 14-O 15-P 16-Q 17-R */ \ | 65 | ) { /* 00-A 01-B 02-C 03-D 04-E 05-F 06-G 07-H 08-I 09-J 10-K 11-L 12-M 13-N 14-O 15-P 16-Q 17-R */ \ |
| 52 | /* 0 */ { ___ , ___ , KC0 , ___ , ___ , KF0 , KG0 , KH0 , KI0 , KJ0 , KK0 , KL0 , KM0 , KN0 , KO0 , ___ , KQ0 , KR0 }, \ | 66 | /* 0 */ { KC_NO, KC_NO, KC0, KC_NO, KC_NO, KF0, KG0, KH0, KI0, KJ0, KK0, KL0, KM0, KN0, KO0, KC_NO, KQ0, KR0 }, \ |
| 53 | /* 1 */ { ___ , ___ , ___ , ___ , ___ , ___ , KG1 , KH1 , KI1 , KJ1 , KK1 , KL1 , KM1 , ___ , KO1 , KP1 , ___ , ___ }, \ | 67 | /* 1 */ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KG1, KH1, KI1, KJ1, KK1, KL1, KM1, KC_NO, KO1, KP1, KC_NO, KC_NO }, \ |
| 54 | /* 2 */ { ___ , KB2 , ___ , KD2 , ___ , KF2 , KG2 , KH2 , KI2 , KJ2 , KK2 , KL2 , KM2 , ___ , KO2 , ___ , ___ , ___ }, \ | 68 | /* 2 */ { KC_NO, KB2, KC_NO, KD2, KC_NO, KF2, KG2, KH2, KI2, KJ2, KK2, KL2, KM2, KC_NO, KO2, KC_NO, KC_NO, KC_NO }, \ |
| 55 | /* 3 */ { ___ , KB3 , ___ , ___ , ___ , KF3 , KG3 , KH3 , KI3 , KJ3 , KK3 , KL3 , KM3 , ___ , KO3 , ___ , ___ , ___ }, \ | 69 | /* 3 */ { KC_NO, KB3, KC_NO, KC_NO, KC_NO, KF3, KG3, KH3, KI3, KJ3, KK3, KL3, KM3, KC_NO, KO3, KC_NO, KC_NO, KC_NO }, \ |
| 56 | /* 4 */ { ___ , ___ , KC4 , ___ , KE4 , KF4 , KG4 , KH4 , KI4 , KJ4 , KK4 , KL4 , KM4 , ___ , KO4 , KP4 , KQ4 , KR4 }, \ | 70 | /* 4 */ { KC_NO, KC_NO, KC4, KC_NO, KE4, KF4, KG4, KH4, KI4, KJ4, KK4, KL4, KM4, KC_NO, KO4, KP4, KQ4, KR4 }, \ |
| 57 | /* 5 */ { ___ , ___ , KC5 , ___ , KE5 , KF5 , KG5 , KH5 , KI5 , KJ5 , KK5 , KL5 , KM5 , KN5 , KO5 , KP5 , ___ , ___ }, \ | 71 | /* 5 */ { KC_NO, KC_NO, KC5, KC_NO, KE5, KF5, KG5, KH5, KI5, KJ5, KK5, KL5, KM5, KN5, KO5, KP5, KC_NO, KC_NO }, \ |
| 58 | /* 6 */ { ___ , ___ , KC6 , ___ , ___ , KF6 , KG6 , ___ , KI6 , KJ6 , KK6 , KL6 , ___ , KN6 , KO6 , ___ , KQ6 , ___ }, \ | 72 | /* 6 */ { KC_NO, KC_NO, KC6, KC_NO, KC_NO, KF6, KG6, KC_NO, KI6, KJ6, KK6, KL6, KC_NO, KN6, KO6, KC_NO, KQ6, KC_NO }, \ |
| 59 | /* 7 */ { ___ , ___ , ___ , ___ , ___ , KF7 , KG7 , KH7 , KI7 , KJ7 , KK7 , KL7 , KM7 , KN7 , KO7 , KP7 , ___ , ___ }, \ | 73 | /* 7 */ { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KF7, KG7, KH7, KI7, KJ7, KK7, KL7, KK7, KL7, KO7, KP7, KC_NO, KC_NO } \ |
| 60 | } | 74 | } |
| 61 | 75 | ||
| 62 | inline void ph_caps_led_on(void) { DDRC |= (1<<6); PORTC &= ~(1<<6); } | 76 | inline void ph_caps_led_on(void) { DDRC |= (1<<6); PORTC &= ~(1<<6); } |
diff --git a/keyboards/bpiphany/pegasushoof/README.md b/keyboards/bpiphany/pegasushoof/readme.md index 1b3d63190..10ec79300 100644 --- a/keyboards/bpiphany/pegasushoof/README.md +++ b/keyboards/bpiphany/pegasushoof/readme.md | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | Pegasus Hoof Controller | 1 | # Pegasus Hoof Controller |
| 2 | === | 2 | |
| 3 | A replacement controller that turns your Filco Majestouch 87/88 mechanical keyboard into a fully programmable keyboard. | ||
| 3 | 4 | ||
| 4 | Keyboard Maintainer: QMK Community | 5 | Keyboard Maintainer: QMK Community |
| 5 | Hardware Supported: Pegasus Hoof | 6 | Hardware Supported: Pegasus Hoof |
| 6 | Hardware Availability: https://1upkeyboards.com/filco-pegasus-hoof-controller.html | 7 | Hardware Availability: [1upkeyboards](https://www.1upkeyboards.com/shop/controllers/filco-pegasus-hoof-controller/) |
| 7 | 8 | ||
| 8 | Make example for this keyboard (after setting up your build environment): | 9 | Make example for this keyboard (after setting up your build environment): |
| 9 | 10 | ||
diff --git a/keyboards/bpiphany/pegasushoof/rules.mk b/keyboards/bpiphany/pegasushoof/rules.mk index 0cfe115aa..00e4bb0ea 100644 --- a/keyboards/bpiphany/pegasushoof/rules.mk +++ b/keyboards/bpiphany/pegasushoof/rules.mk | |||
| @@ -60,8 +60,9 @@ MIDI_ENABLE = no # MIDI controls | |||
| 60 | AUDIO_ENABLE = no # Audio output on port C6 | 60 | AUDIO_ENABLE = no # Audio output on port C6 |
| 61 | UNICODE_ENABLE = no # Unicode | 61 | UNICODE_ENABLE = no # Unicode |
| 62 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 62 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 63 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | 63 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. |
| 64 | 64 | ||
| 65 | LAYOUTS = tkl_ansi | ||
| 65 | 66 | ||
| 66 | CUSTOM_MATRIX = yes | 67 | CUSTOM_MATRIX = yes |
| 67 | SRC = matrix.c | 68 | SRC = matrix.c |
