diff options
| author | Andy Freeland <andy@andyfreeland.net> | 2021-02-27 21:50:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-28 16:50:54 +1100 |
| commit | 74372424ae4c5be0b9f43d59306467ed775f6042 (patch) | |
| tree | 724733028773e3b97bff7eb5e1e471a76b626683 /keyboards/kbdfans | |
| parent | 4a7a9e9951c2749d908e7a34c91f72a5fdb4ad39 (diff) | |
| download | qmk_firmware-74372424ae4c5be0b9f43d59306467ed775f6042.tar.gz qmk_firmware-74372424ae4c5be0b9f43d59306467ed775f6042.zip | |
[Keyboard] Add 'LAYOUT_65_ansi_split_bs' support to KBDfans KBD67 rev2 (#11739)
* [Keyboard] Add 'LAYOUT_65_ansi_split_bs' support to KBDfans KBD67 rev2
This is already supported by VIA.
* [Keymap] Fix kbd67 catrielmuller_camilad keymap
* [Keyboard] Add my keymap for KBDfans KBD67 rev2 using 'LAYOUT_65_ansi_split_bs'
Diffstat (limited to 'keyboards/kbdfans')
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/info.json | 78 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c | 2 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/config.h | 19 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c | 60 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/rev2.h | 15 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd67/rev2/rules.mk | 2 |
8 files changed, 176 insertions, 3 deletions
diff --git a/keyboards/kbdfans/kbd67/rev2/info.json b/keyboards/kbdfans/kbd67/rev2/info.json index f9d9922ee..a1104b742 100644 --- a/keyboards/kbdfans/kbd67/rev2/info.json +++ b/keyboards/kbdfans/kbd67/rev2/info.json | |||
| @@ -184,7 +184,7 @@ | |||
| 184 | {"x":2.5, "y":1}, | 184 | {"x":2.5, "y":1}, |
| 185 | {"x":3.5, "y":1}, | 185 | {"x":3.5, "y":1}, |
| 186 | {"x":4.5, "y":1}, | 186 | {"x":4.5, "y":1}, |
| 187 | {"x":5.5, "y":1}, | 187 | {"x":5.5, "y":1}, |
| 188 | {"x":6.5, "y":1}, | 188 | {"x":6.5, "y":1}, |
| 189 | {"x":7.5, "y":1}, | 189 | {"x":7.5, "y":1}, |
| 190 | {"x":8.5, "y":1}, | 190 | {"x":8.5, "y":1}, |
| @@ -310,6 +310,82 @@ | |||
| 310 | {"x":14, "y":4}, | 310 | {"x":14, "y":4}, |
| 311 | {"x":15, "y":4}] | 311 | {"x":15, "y":4}] |
| 312 | }, | 312 | }, |
| 313 | "LAYOUT_65_ansi_split_bs": { | ||
| 314 | "layout": [ | ||
| 315 | {"x":0, "y":0}, | ||
| 316 | {"x":1, "y":0}, | ||
| 317 | {"x":2, "y":0}, | ||
| 318 | {"x":3, "y":0}, | ||
| 319 | {"x":4, "y":0}, | ||
| 320 | {"x":5, "y":0}, | ||
| 321 | {"x":6, "y":0}, | ||
| 322 | {"x":7, "y":0}, | ||
| 323 | {"x":8, "y":0}, | ||
| 324 | {"x":9, "y":0}, | ||
| 325 | {"x":10, "y":0}, | ||
| 326 | {"x":11, "y":0}, | ||
| 327 | {"x":12, "y":0}, | ||
| 328 | {"x":13, "y":0}, | ||
| 329 | {"x":14, "y":0}, | ||
| 330 | {"x":15, "y":0}, | ||
| 331 | |||
| 332 | {"x":0, "y":1, "w":1.5}, | ||
| 333 | {"x":1.5, "y":1}, | ||
| 334 | {"x":2.5, "y":1}, | ||
| 335 | {"x":3.5, "y":1}, | ||
| 336 | {"x":4.5, "y":1}, | ||
| 337 | {"x":5.5, "y":1}, | ||
| 338 | {"x":6.5, "y":1}, | ||
| 339 | {"x":7.5, "y":1}, | ||
| 340 | {"x":8.5, "y":1}, | ||
| 341 | {"x":9.5, "y":1}, | ||
| 342 | {"x":10.5, "y":1}, | ||
| 343 | {"x":11.5, "y":1}, | ||
| 344 | {"x":12.5, "y":1}, | ||
| 345 | {"x":13.5, "y":1, "w":1.5}, | ||
| 346 | {"x":15, "y":1}, | ||
| 347 | |||
| 348 | {"x":0, "y":2, "w":1.75}, | ||
| 349 | {"x":1.75, "y":2}, | ||
| 350 | {"x":2.75, "y":2}, | ||
| 351 | {"x":3.75, "y":2}, | ||
| 352 | {"x":4.75, "y":2}, | ||
| 353 | {"x":5.75, "y":2}, | ||
| 354 | {"x":6.75, "y":2}, | ||
| 355 | {"x":7.75, "y":2}, | ||
| 356 | {"x":8.75, "y":2}, | ||
| 357 | {"x":9.75, "y":2}, | ||
| 358 | {"x":10.75, "y":2}, | ||
| 359 | {"x":11.75, "y":2}, | ||
| 360 | {"x":12.75, "y":2, "w":2.25}, | ||
| 361 | {"x":15, "y":2}, | ||
| 362 | |||
| 363 | {"x":0, "y":3, "w":2.25}, | ||
| 364 | {"x":2.25, "y":3}, | ||
| 365 | {"x":3.25, "y":3}, | ||
| 366 | {"x":4.25, "y":3}, | ||
| 367 | {"x":5.25, "y":3}, | ||
| 368 | {"x":6.25, "y":3}, | ||
| 369 | {"x":7.25, "y":3}, | ||
| 370 | {"x":8.25, "y":3}, | ||
| 371 | {"x":9.25, "y":3}, | ||
| 372 | {"x":10.25, "y":3}, | ||
| 373 | {"x":11.25, "y":3}, | ||
| 374 | {"x":12.25, "y":3, "w":1.75}, | ||
| 375 | {"x":14, "y":3}, | ||
| 376 | {"x":15, "y":3}, | ||
| 377 | |||
| 378 | {"x":0, "y":4, "w":1.25}, | ||
| 379 | {"x":1.25, "y":4, "w":1.25}, | ||
| 380 | {"x":2.5, "y":4, "w":1.25}, | ||
| 381 | {"x":3.75, "y":4, "w":6.25}, | ||
| 382 | {"x":10, "y":4}, | ||
| 383 | {"x":11, "y":4}, | ||
| 384 | {"x":12, "y":4}, | ||
| 385 | {"x":13, "y":4}, | ||
| 386 | {"x":14, "y":4}, | ||
| 387 | {"x":15, "y":4}] | ||
| 388 | }, | ||
| 313 | "LAYOUT_65_iso": { | 389 | "LAYOUT_65_iso": { |
| 314 | "layout": [ | 390 | "layout": [ |
| 315 | {"x":0, "y":0}, | 391 | {"x":0, "y":0}, |
diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c index 948f0a80a..e993f93fb 100644 --- a/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c +++ b/keyboards/kbdfans/kbd67/rev2/keymaps/catrielmuller_camilad/keymap.c | |||
| @@ -26,7 +26,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 26 | [1] = LAYOUT_65_ansi( | 26 | [1] = LAYOUT_65_ansi( |
| 27 | KC_GRV ,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_DEL ,KC_INS , | 27 | KC_GRV ,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_DEL ,KC_INS , |
| 28 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_PSCR, | 28 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_PSCR, |
| 29 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,TILDE ,_______ ,_______, | 29 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,KC_TILDE,_______ ,_______, |
| 30 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______ ,KC_PGUP,_______, | 30 | _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______ ,KC_PGUP,_______, |
| 31 | _______,_______,_______,_______ ,_______,_______,_______,KC_HOME,KC_PGDN,KC_END ), | 31 | _______,_______,_______,_______ ,_______,_______,_______,KC_HOME,KC_PGDN,KC_END ), |
| 32 | 32 | ||
diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/config.h b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/config.h new file mode 100644 index 000000000..a3ed4f762 --- /dev/null +++ b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2018 MechMerlin | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | // place overrides here | ||
diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c new file mode 100644 index 000000000..a867cff23 --- /dev/null +++ b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/keymap.c | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | /* Copyright 2021 Andy Freeland | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | /* Keymap (Base Layer) Default Layer | ||
| 20 | * ,----------------------------------------------------------------. | ||
| 21 | * |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| - | = | ` | \ |Home| | ||
| 22 | * |----------------------------------------------------------------| | ||
| 23 | * |Tab | Q| W| E| R| T| Y| U| I| O| P| [ | ] | Bsp |Del | | ||
| 24 | * |----------------------------------------------------------------| | ||
| 25 | * |Ctrl | A| S| D| F| G| H| J| K| L| ; | ' |Return |PgUp| | ||
| 26 | * |----------------------------------------------------------------| | ||
| 27 | * |Shift | Z| X| C| V| B| N| M| , | . | / |Shift | ↑ |PgDn| | ||
| 28 | * |----------------------------------------------------------------| | ||
| 29 | * |Ctrl|Alt |GUI | Space |GUI |FN|Ctrl| ← | ↓ | → | | ||
| 30 | * `----------------------------------------------------------------' | ||
| 31 | */ | ||
| 32 | [0] = LAYOUT_65_ansi_split_bs( | ||
| 33 | KC_ESC, 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_GRV, KC_BSLS, KC_HOME, | ||
| 34 | 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_BSPC, KC_DEL, | ||
| 35 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, | ||
| 36 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, | ||
| 37 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 38 | ), | ||
| 39 | |||
| 40 | /* Keymap Fn Layer | ||
| 41 | * ,----------------------------------------------------------------. | ||
| 42 | * |~ `|F1 |F2 |F3 |F4 |F5 |F6 |F7 |F8 |F9 |F10|F11|F12| |Del|Ins | | ||
| 43 | * |----------------------------------------------------------------| | ||
| 44 | * | | |Up | | | | | |PSc|SLk|Pau|Up | | | | | ||
| 45 | * |----------------------------------------------------------------| | ||
| 46 | * | |Lef|Dow|Rig| | | | |Hom|PUp|Lef|Rig| |Vol+| | ||
| 47 | * |----------------------------------------------------------------| | ||
| 48 | * | | | | | | | | |End|PDn|Dow| | |Vol-| | ||
| 49 | * |----------------------------------------------------------------| | ||
| 50 | * | | | | | | | |Prv|Ply|Nxt | | ||
| 51 | * `----------------------------------------------------------------' | ||
| 52 | */ | ||
| 53 | [1] = LAYOUT_65_ansi_split_bs( | ||
| 54 | KC_GRV, 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_DEL,KC_INS, \ | ||
| 55 | _______,_______, KC_UP,_______,_______,_______,_______,_______,KC_PSCR,KC_SLCK,KC_PAUS, KC_UP,_______, _______,_______, \ | ||
| 56 | _______,KC_LEFT,KC_DOWN,KC_RGHT,_______,_______,_______,_______,KC_HOME,KC_PGUP,KC_LEFT,KC_RGHT, _______,KC_VOLU, \ | ||
| 57 | _______,_______,_______,_______,_______,_______,_______,_______, KC_END,KC_PGDN,KC_DOWN, _______,_______,KC_VOLD, \ | ||
| 58 | _______, _______, _______, _______, _______,_______,_______,KC_MPRV,KC_MPLY,KC_MNXT), | ||
| 59 | |||
| 60 | }; | ||
diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md new file mode 100644 index 000000000..2cb43c5e1 --- /dev/null +++ b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for kbd67 | |||
diff --git a/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/kbdfans/kbd67/rev2/keymaps/rouge8/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/kbdfans/kbd67/rev2/rev2.h b/keyboards/kbdfans/kbd67/rev2/rev2.h index 76bb8f71f..924c68572 100644 --- a/keyboards/kbdfans/kbd67/rev2/rev2.h +++ b/keyboards/kbdfans/kbd67/rev2/rev2.h | |||
| @@ -87,6 +87,21 @@ | |||
| 87 | 87 | ||
| 88 | #define LAYOUT_65_ansi_blocker_split_bs LAYOUT_65_ansi_blocker_splitbs | 88 | #define LAYOUT_65_ansi_blocker_split_bs LAYOUT_65_ansi_blocker_splitbs |
| 89 | 89 | ||
| 90 | #define LAYOUT_65_ansi_split_bs( \ | ||
| 91 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, \ | ||
| 92 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \ | ||
| 93 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \ | ||
| 94 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \ | ||
| 95 | K40, K41, K43, K46, K4A, K4B, K4C, K4D, K4E, K4F \ | ||
| 96 | ) \ | ||
| 97 | { \ | ||
| 98 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F }, \ | ||
| 99 | { K10, KC_NO, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \ | ||
| 100 | { K20, KC_NO, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, KC_NO, K2F }, \ | ||
| 101 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E, K3F }, \ | ||
| 102 | { K40, K41, KC_NO, K43, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D, K4E, K4F }, \ | ||
| 103 | } | ||
| 104 | |||
| 90 | #define LAYOUT_65_iso( \ | 105 | #define LAYOUT_65_iso( \ |
| 91 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, K0F, \ | 106 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, K0F, \ |
| 92 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ | 107 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1F, \ |
diff --git a/keyboards/kbdfans/kbd67/rev2/rules.mk b/keyboards/kbdfans/kbd67/rev2/rules.mk index ef234c53f..a51b306da 100644 --- a/keyboards/kbdfans/kbd67/rev2/rules.mk +++ b/keyboards/kbdfans/kbd67/rev2/rules.mk | |||
| @@ -30,4 +30,4 @@ UNICODE_ENABLE = no # Unicode | |||
| 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 30 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 31 | AUDIO_ENABLE = no # Audio output on port C6 | 31 | AUDIO_ENABLE = no # Audio output on port C6 |
| 32 | 32 | ||
| 33 | LAYOUTS = 65_ansi 65_iso 65_ansi_blocker 65_ansi_blocker_split_bs | 33 | LAYOUTS = 65_ansi 65_iso 65_ansi_blocker 65_ansi_blocker_split_bs 65_ansi_split_bs |
