diff options
| author | QMK Bot <hello@qmk.fm> | 2021-07-17 23:18:15 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-07-17 23:18:15 +0000 |
| commit | 2eb8349437321390d146823e363c4564b06fcd03 (patch) | |
| tree | 6f8eaac569a228569e9a0ffe7927cfac3bc5609d | |
| parent | c329b549e44ec4ecb42e1312b6c5b552eb5ba6ab (diff) | |
| parent | 26e64f4fd3d0adfae33a210f429addd78d0e71c2 (diff) | |
| download | qmk_firmware-2eb8349437321390d146823e363c4564b06fcd03.tar.gz qmk_firmware-2eb8349437321390d146823e363c4564b06fcd03.zip | |
Merge remote-tracking branch 'origin/master' into develop
| -rw-r--r-- | keyboards/acr60/acr60.c | 43 | ||||
| -rw-r--r-- | keyboards/acr60/acr60.h | 173 | ||||
| -rw-r--r-- | keyboards/acr60/config.h | 24 | ||||
| -rw-r--r-- | keyboards/acr60/info.json | 473 | ||||
| -rw-r--r-- | keyboards/acr60/keymaps/default/keymap.c | 93 | ||||
| -rw-r--r-- | keyboards/acr60/readme.md | 22 |
6 files changed, 620 insertions, 208 deletions
diff --git a/keyboards/acr60/acr60.c b/keyboards/acr60/acr60.c index 8a76020e5..7cba669b8 100644 --- a/keyboards/acr60/acr60.c +++ b/keyboards/acr60/acr60.c | |||
| @@ -1,28 +1,17 @@ | |||
| 1 | #include "acr60.h" | 1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) |
| 2 | #include "led.h" | 2 | * |
| 3 | 3 | * This program is free software: you can redistribute it and/or modify | |
| 4 | void matrix_init_kb(void) { | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | // Keyboard start-up code goes here | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | // Runs once when the firmware starts up | 6 | * (at your option) any later version. |
| 7 | matrix_init_user(); | 7 | * |
| 8 | led_init_ports(); | 8 | * This program is distributed in the hope that it will be useful, |
| 9 | }; | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 11 | void matrix_scan_kb(void) { | 11 | * GNU General Public License for more details. |
| 12 | // Looping keyboard code goes here | 12 | * |
| 13 | // This runs every cycle (a lot) | 13 | * You should have received a copy of the GNU General Public License |
| 14 | matrix_scan_user(); | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | }; | 15 | */ |
| 16 | 16 | ||
| 17 | void led_init_ports(void) { | 17 | #include "acr60.h" |
| 18 | // Set caps lock LED pin as output | ||
| 19 | DDRB |= (1 << 2); | ||
| 20 | // Default to off | ||
| 21 | PORTB |= (1 << 2); | ||
| 22 | } | ||
| 23 | |||
| 24 | void led_set_kb(uint8_t usb_led) { | ||
| 25 | // Code for caps lock LED as reported by the OS | ||
| 26 | // Set this per keymap, instead of globally | ||
| 27 | led_set_user(usb_led); | ||
| 28 | } | ||
diff --git a/keyboards/acr60/acr60.h b/keyboards/acr60/acr60.h index 9a2d59f63..5a52a3bc8 100644 --- a/keyboards/acr60/acr60.h +++ b/keyboards/acr60/acr60.h | |||
| @@ -1,76 +1,93 @@ | |||
| 1 | #ifndef ARC60_H | 1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) |
| 2 | #define ARC60_H | 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 | ||
| 3 | 18 | ||
| 4 | #include "quantum.h" | 19 | #include "quantum.h" |
| 5 | 20 | ||
| 6 | #define LAYOUT( \ | 21 | #define ___ KC_NO |
| 7 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | 22 | |
| 8 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 23 | #define LAYOUT_all( \ |
| 9 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | 24 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ |
| 10 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | 25 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ |
| 11 | K400, K401, K403, K404, K406, K408, K410, K411, K412, K413, K414 \ | 26 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ |
| 27 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ | ||
| 28 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E \ | ||
| 12 | ) { \ | 29 | ) { \ |
| 13 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | 30 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ |
| 14 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | 31 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ |
| 15 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO }, \ | 32 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ |
| 16 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \ | 33 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ |
| 17 | { K400, K401, KC_NO, K403, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413, K414 } \ | 34 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \ |
| 18 | } | 35 | } |
| 19 | 36 | ||
| 20 | #define LAYOUT_hhkb( \ | 37 | #define LAYOUT( \ |
| 21 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | 38 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ |
| 22 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 39 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ |
| 23 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | 40 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ |
| 24 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | 41 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ |
| 25 | K401, K403, K406, K411, K413 \ | 42 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E \ |
| 26 | ) { \ | 43 | ) { \ |
| 27 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | 44 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ |
| 28 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | 45 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ |
| 29 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO }, \ | 46 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ |
| 30 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \ | 47 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ |
| 31 | { KC_NO, K401, KC_NO, K403, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, KC_NO, K411, KC_NO, K413, KC_NO } \ | 48 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \ |
| 32 | } | 49 | } |
| 33 | 50 | ||
| 34 | #define LAYOUT_true_hhkb( \ | 51 | #define LAYOUT_hhkb( \ |
| 35 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | 52 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ |
| 36 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 53 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ |
| 37 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | 54 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ |
| 38 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | 55 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ |
| 39 | K401, K403, K406, K410, K411 \ | 56 | K41, K43, K46, K4B, K4D \ |
| 40 | ) { \ | 57 | ) { \ |
| 41 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | 58 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ |
| 42 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | 59 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ |
| 43 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO }, \ | 60 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ |
| 44 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \ | 61 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ |
| 45 | { KC_NO, K401, KC_NO, K403, KC_NO, KC_NO, K406, KC_NO, KC_NO, KC_NO, K410, K411, KC_NO, KC_NO, KC_NO } \ | 62 | { ___, K41, ___, K43, ___, ___, K46, ___, ___, ___, ___, K4B, ___, K4D, ___ } \ |
| 46 | } | 63 | } |
| 47 | 64 | ||
| 48 | #define LAYOUT_2_shifts( \ | 65 | #define LAYOUT_true_hhkb( \ |
| 49 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | 66 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ |
| 50 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 67 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ |
| 51 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | 68 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ |
| 52 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314, \ | 69 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ |
| 53 | K400, K401, K403, K404, K406, K408, K410, K411, K412, K413, K414 \ | 70 | K41, K43, K46, K4A, K4B \ |
| 54 | ) { \ | 71 | ) { \ |
| 55 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | 72 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ |
| 56 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | 73 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ |
| 57 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO }, \ | 74 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ |
| 58 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, K314 }, \ | 75 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ |
| 59 | { K400, K401, KC_NO, K403, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413, K414 } \ | 76 | { ___, K41, ___, K43, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, ___, ___ } \ |
| 60 | } | 77 | } |
| 61 | 78 | ||
| 62 | #define LAYOUT_directional( \ | 79 | #define LAYOUT_directional( \ |
| 63 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014, \ | 80 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \ |
| 64 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 81 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ |
| 65 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | 82 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ |
| 66 | K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K312, K313, K314, \ | 83 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3C, K3D, K3E, \ |
| 67 | K400, K401, K403, K404, K406, K408, K410, K411, K412, K413, K414 \ | 84 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4C, K4D, K4E \ |
| 68 | ) { \ | 85 | ) { \ |
| 69 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K014 }, \ | 86 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ |
| 70 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | 87 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ |
| 71 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO }, \ | 88 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ |
| 72 | { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, KC_NO, K312, K313, K314 }, \ | 89 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, ___, K3C, K3D, K3E }, \ |
| 73 | { K400, K401, KC_NO, K403, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413, K414 } \ | 90 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, K4C, K4D, K4E } \ |
| 74 | } | 91 | } |
| 75 | 92 | ||
| 76 | /* Mitch's keymap, "MitchSplit": | 93 | /* Mitch's keymap, "MitchSplit": |
| @@ -78,30 +95,28 @@ | |||
| 78 | * Split shift is 2.75u + 1.25u + 2.25u (total of 6.25u). Might not work with other orientations. | 95 | * Split shift is 2.75u + 1.25u + 2.25u (total of 6.25u). Might not work with other orientations. |
| 79 | */ | 96 | */ |
| 80 | /* | 97 | /* |
| 81 | * ,-----------------------------------------------------------------------------------------. | 98 | * ,-----------------------------------------------------------. |
| 82 | * |K000 |K001 |K002 |K003 |K004 |K005 |K006 |K007 |K008 |K009 |K010 |K011 |K012 | K014 | | 99 | * |00 |01 |02 |03 |04 |05 |06 |07 |08 |09 |0A |0B |0C |0E | |
| 83 | * |-----------------------------------------------------------------------------------------+ | 100 | * |-----------------------------------------------------------| |
| 84 | * | K100 |K102 |K103 |K104 |K105 |K106 |K107 |K108 |K109 |K110 |K111 |K112 |K113 | K114 | | 101 | * |10 |12 |13 |14 |15 |16 |17 |18 |19 |1A |1B |1C |1D |1E | |
| 85 | * |-----------------------------------------------------------------------------------------+ | 102 | * |-----------------------------------------------------------| |
| 86 | * | K200 |K202 |K203 |K204 |K205 |K206 |K207 |K208 |K209 |K210 |K211 |K212 | K213 | | 103 | * |20 |22 |23 |24 |25 |26 |27 |28 |29 |2A |2B |2C |2D | |
| 87 | * |-----------------------------------------------------------------------------------------+ | 104 | * |-----------------------------------------------------------| |
| 88 | * | K300 |K302 |K303 |K304 |K305 |K306 |K307 |K308 |K309 |K310 |K311 | K313 |K314 | | 105 | * |30 |32 |33 |34 |35 |36 |37 |38 |39 |3A |3B |3D |3E | |
| 89 | * |-----------------------------------------------------------------------------------------+ | 106 | * |-----------------------------------------------------------| |
| 90 | * | K400 | K401 | K403 | K404 | K406 | K408 | K410 | K411 | K413 | K414 | | 107 | * |40 |41 |43 |44 |46 |48 |4A |4B |4D |4E | |
| 91 | * `-----------------------------------------------------------------------------------------' | 108 | * `-----------------------------------------------------------' |
| 92 | */ | 109 | */ |
| 93 | #define LAYOUT_mitchsplit( \ | 110 | #define LAYOUT_mitchsplit( \ |
| 94 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K014, \ | 111 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \ |
| 95 | K100, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114, \ | 112 | K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ |
| 96 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, \ | 113 | K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, \ |
| 97 | K300, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K313, K314, \ | 114 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \ |
| 98 | K400, K401, K403, K404, K406, K408, K410, K411, K413, K414 \ | 115 | K40, K41, K43, K44, K46, K48, K4A, K4B, K4D, K4E \ |
| 99 | ) { \ | 116 | ) { \ |
| 100 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, KC_NO, K014 }, \ | 117 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, ___, K0E }, \ |
| 101 | { K100, KC_NO, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, K114 }, \ | 118 | { K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ |
| 102 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213, KC_NO }, \ | 119 | { K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___ }, \ |
| 103 | { K300, KC_NO, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, KC_NO, K313, K314 }, \ | 120 | { K30, ___, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E }, \ |
| 104 | { K400, K401, KC_NO, K403, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, KC_NO, K413, K414 } \ | 121 | { K40, K41, ___, K43, K44, ___, K46, ___, K48, ___, K4A, K4B, ___, K4D, K4E } \ |
| 105 | } | 122 | } |
| 106 | |||
| 107 | #endif | ||
diff --git a/keyboards/acr60/config.h b/keyboards/acr60/config.h index 9d844b6d4..7fb907153 100644 --- a/keyboards/acr60/config.h +++ b/keyboards/acr60/config.h | |||
| @@ -1,5 +1,20 @@ | |||
| 1 | #ifndef CONFIG_H | 1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) |
| 2 | #define CONFIG_H | 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 | ||
| 3 | 18 | ||
| 4 | #include "config_common.h" | 19 | #include "config_common.h" |
| 5 | 20 | ||
| @@ -22,6 +37,9 @@ | |||
| 22 | /* COL2ROW or ROW2COL */ | 37 | /* COL2ROW or ROW2COL */ |
| 23 | #define DIODE_DIRECTION COL2ROW | 38 | #define DIODE_DIRECTION COL2ROW |
| 24 | 39 | ||
| 40 | #define LED_CAPS_LOCK_PIN B2 | ||
| 41 | #define LED_PIN_ON_STATE 0 | ||
| 42 | |||
| 25 | /* number of backlight levels */ | 43 | /* number of backlight levels */ |
| 26 | #define BACKLIGHT_PIN B6 | 44 | #define BACKLIGHT_PIN B6 |
| 27 | #define BACKLIGHT_LEVELS 5 | 45 | #define BACKLIGHT_LEVELS 5 |
| @@ -41,5 +59,3 @@ | |||
| 41 | #define RGBLIGHT_HUE_STEP 8 | 59 | #define RGBLIGHT_HUE_STEP 8 |
| 42 | #define RGBLIGHT_SAT_STEP 8 | 60 | #define RGBLIGHT_SAT_STEP 8 |
| 43 | #define RGBLIGHT_VAL_STEP 8 | 61 | #define RGBLIGHT_VAL_STEP 8 |
| 44 | |||
| 45 | #endif | ||
diff --git a/keyboards/acr60/info.json b/keyboards/acr60/info.json index 660c35799..d4008827f 100644 --- a/keyboards/acr60/info.json +++ b/keyboards/acr60/info.json | |||
| @@ -1,33 +1,448 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "ACR60", | 2 | "keyboard_name": "ACR60", |
| 3 | "url": "", | 3 | "url": "", |
| 4 | "maintainer": "qmk", | 4 | "maintainer": "qmk", |
| 5 | "width": 15, | 5 | "width": 15, |
| 6 | "height": 5, | 6 | "height": 5, |
| 7 | "layouts": { | 7 | "layout_aliases": { |
| 8 | "LAYOUT": { | 8 | "LAYOUT_2_shifts": "LAYOUT_all" |
| 9 | "key_count": 67, | ||
| 10 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K004", "x":4, "y":0}, {"label":"K005", "x":5, "y":0}, {"label":"K006", "x":6, "y":0}, {"label":"K007", "x":7, "y":0}, {"label":"K008", "x":8, "y":0}, {"label":"K009", "x":9, "y":0}, {"label":"K010", "x":10, "y":0}, {"label":"K011", "x":11, "y":0}, {"label":"K012", "x":12, "y":0}, {"label":"K013", "x":13, "y":0}, {"label":"K014", "x":14, "y":0}, {"label":"K100", "x":0, "y":1, "w":1.5}, {"label":"K102", "x":1.5, "y":1}, {"label":"K103", "x":2.5, "y":1}, {"label":"K104", "x":3.5, "y":1}, {"label":"K105", "x":4.5, "y":1}, {"label":"K106", "x":5.5, "y":1}, {"label":"K107", "x":6.5, "y":1}, {"label":"K108", "x":7.5, "y":1}, {"label":"K109", "x":8.5, "y":1}, {"label":"K110", "x":9.5, "y":1}, {"label":"K111", "x":10.5, "y":1}, {"label":"K112", "x":11.5, "y":1}, {"label":"K113", "x":12.5, "y":1}, {"label":"K114", "x":13.5, "y":1, "w":1.5}, {"label":"K200", "x":0, "y":2, "w":1.75}, {"label":"K202", "x":1.75, "y":2}, {"label":"K203", "x":2.75, "y":2}, {"label":"K204", "x":3.75, "y":2}, {"label":"K205", "x":4.75, "y":2}, {"label":"K206", "x":5.75, "y":2}, {"label":"K207", "x":6.75, "y":2}, {"label":"K208", "x":7.75, "y":2}, {"label":"K209", "x":8.75, "y":2}, {"label":"K210", "x":9.75, "y":2}, {"label":"K211", "x":10.75, "y":2}, {"label":"K212", "x":11.75, "y":2}, {"label":"K213", "x":12.75, "y":2, "w":2.25}, {"label":"K300", "x":0, "y":3, "w":1.25}, {"label":"K301", "x":1.25, "y":3}, {"label":"K302", "x":2.25, "y":3}, {"label":"K303", "x":3.25, "y":3}, {"label":"K304", "x":4.25, "y":3}, {"label":"K305", "x":5.25, "y":3}, {"label":"K306", "x":6.25, "y":3}, {"label":"K307", "x":7.25, "y":3}, {"label":"K308", "x":8.25, "y":3}, {"label":"K309", "x":9.25, "y":3}, {"label":"K310", "x":10.25, "y":3}, {"label":"K311", "x":11.25, "y":3}, {"label":"K313", "x":12.25, "y":3, "w":1.75}, {"label":"K314", "x":14, "y":3}, {"label":"K400", "x":0, "y":4, "w":1.25}, {"label":"K401", "x":1.25, "y":4, "w":1.25}, {"label":"K403", "x":2.5, "y":4, "w":1.25}, {"label":"K404", "x":3.75, "y":4, "w":2.25}, {"label":"K406", "x":6, "y":4, "w":1.25}, {"label":"K408", "x":7.25, "y":4, "w":2.75}, {"label":"K410", "x":10, "y":4}, {"label":"K411", "x":11, "y":4}, {"label":"K412", "x":12, "y":4}, {"label":"K413", "x":13, "y":4}, {"label":"K414", "x":14, "y":4}] | ||
| 11 | }, | 9 | }, |
| 12 | "LAYOUT_hhkb": { | 10 | "layouts": { |
| 13 | "key_count": 61, | 11 | "LAYOUT_all": { |
| 14 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K004", "x":4, "y":0}, {"label":"K005", "x":5, "y":0}, {"label":"K006", "x":6, "y":0}, {"label":"K007", "x":7, "y":0}, {"label":"K008", "x":8, "y":0}, {"label":"K009", "x":9, "y":0}, {"label":"K010", "x":10, "y":0}, {"label":"K011", "x":11, "y":0}, {"label":"K012", "x":12, "y":0}, {"label":"K013", "x":13, "y":0}, {"label":"K014", "x":14, "y":0}, {"label":"K100", "x":0, "y":1, "w":1.5}, {"label":"K102", "x":1.5, "y":1}, {"label":"K103", "x":2.5, "y":1}, {"label":"K104", "x":3.5, "y":1}, {"label":"K105", "x":4.5, "y":1}, {"label":"K106", "x":5.5, "y":1}, {"label":"K107", "x":6.5, "y":1}, {"label":"K108", "x":7.5, "y":1}, {"label":"K109", "x":8.5, "y":1}, {"label":"K110", "x":9.5, "y":1}, {"label":"K111", "x":10.5, "y":1}, {"label":"K112", "x":11.5, "y":1}, {"label":"K113", "x":12.5, "y":1}, {"label":"K114", "x":13.5, "y":1, "w":1.5}, {"label":"K200", "x":0, "y":2, "w":1.75}, {"label":"K202", "x":1.75, "y":2}, {"label":"K203", "x":2.75, "y":2}, {"label":"K204", "x":3.75, "y":2}, {"label":"K205", "x":4.75, "y":2}, {"label":"K206", "x":5.75, "y":2}, {"label":"K207", "x":6.75, "y":2}, {"label":"K208", "x":7.75, "y":2}, {"label":"K209", "x":8.75, "y":2}, {"label":"K210", "x":9.75, "y":2}, {"label":"K211", "x":10.75, "y":2}, {"label":"K212", "x":11.75, "y":2}, {"label":"K213", "x":12.75, "y":2, "w":2.25}, {"label":"K300", "x":0, "y":3, "w":1.25}, {"label":"K301", "x":1.25, "y":3}, {"label":"K302", "x":2.25, "y":3}, {"label":"K303", "x":3.25, "y":3}, {"label":"K304", "x":4.25, "y":3}, {"label":"K305", "x":5.25, "y":3}, {"label":"K306", "x":6.25, "y":3}, {"label":"K307", "x":7.25, "y":3}, {"label":"K308", "x":8.25, "y":3}, {"label":"K309", "x":9.25, "y":3}, {"label":"K310", "x":10.25, "y":3}, {"label":"K311", "x":11.25, "y":3}, {"label":"K313", "x":12.25, "y":3, "w":1.75}, {"label":"K314", "x":14, "y":3}, {"label":"K401", "x":1.5, "y":4}, {"label":"K403", "x":2.5, "y":4, "w":1.5}, {"label":"K406", "x":4, "y":4, "w":7}, {"label":"K411", "x":11, "y":4, "w":1.5}, {"label":"K413", "x":12.5, "y":4}] | 12 | "layout": [ |
| 15 | }, | 13 | {"label":"K00", "x":0, "y":0}, |
| 16 | "LAYOUT_true_hhkb": { | 14 | {"label":"K01", "x":1, "y":0}, |
| 17 | "key_count": 61, | 15 | {"label":"K02", "x":2, "y":0}, |
| 18 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K004", "x":4, "y":0}, {"label":"K005", "x":5, "y":0}, {"label":"K006", "x":6, "y":0}, {"label":"K007", "x":7, "y":0}, {"label":"K008", "x":8, "y":0}, {"label":"K009", "x":9, "y":0}, {"label":"K010", "x":10, "y":0}, {"label":"K011", "x":11, "y":0}, {"label":"K012", "x":12, "y":0}, {"label":"K013", "x":13, "y":0}, {"label":"K014", "x":14, "y":0}, {"label":"K100", "x":0, "y":1, "w":1.5}, {"label":"K102", "x":1.5, "y":1}, {"label":"K103", "x":2.5, "y":1}, {"label":"K104", "x":3.5, "y":1}, {"label":"K105", "x":4.5, "y":1}, {"label":"K106", "x":5.5, "y":1}, {"label":"K107", "x":6.5, "y":1}, {"label":"K108", "x":7.5, "y":1}, {"label":"K109", "x":8.5, "y":1}, {"label":"K110", "x":9.5, "y":1}, {"label":"K111", "x":10.5, "y":1}, {"label":"K112", "x":11.5, "y":1}, {"label":"K113", "x":12.5, "y":1}, {"label":"K114", "x":13.5, "y":1, "w":1.5}, {"label":"K200", "x":0, "y":2, "w":1.75}, {"label":"K202", "x":1.75, "y":2}, {"label":"K203", "x":2.75, "y":2}, {"label":"K204", "x":3.75, "y":2}, {"label":"K205", "x":4.75, "y":2}, {"label":"K206", "x":5.75, "y":2}, {"label":"K207", "x":6.75, "y":2}, {"label":"K208", "x":7.75, "y":2}, {"label":"K209", "x":8.75, "y":2}, {"label":"K210", "x":9.75, "y":2}, {"label":"K211", "x":10.75, "y":2}, {"label":"K212", "x":11.75, "y":2}, {"label":"K213", "x":12.75, "y":2, "w":2.25}, {"label":"K300", "x":0, "y":3, "w":1.25}, {"label":"K301", "x":1.25, "y":3}, {"label":"K302", "x":2.25, "y":3}, {"label":"K303", "x":3.25, "y":3}, {"label":"K304", "x":4.25, "y":3}, {"label":"K305", "x":5.25, "y":3}, {"label":"K306", "x":6.25, "y":3}, {"label":"K307", "x":7.25, "y":3}, {"label":"K308", "x":8.25, "y":3}, {"label":"K309", "x":9.25, "y":3}, {"label":"K310", "x":10.25, "y":3}, {"label":"K311", "x":11.25, "y":3}, {"label":"K313", "x":12.25, "y":3, "w":1.75}, {"label":"K314", "x":14, "y":3}, {"label":"K401", "x":1.5, "y":4}, {"label":"K403", "x":2.5, "y":4, "w":1.5}, {"label":"K406", "x":4, "y":4, "w":6}, {"label":"K410", "x":10, "y":4, "w":1.5}, {"label":"K411", "x":11.5, "y":4}] | 16 | {"label":"K03", "x":3, "y":0}, |
| 19 | }, | 17 | {"label":"K04", "x":4, "y":0}, |
| 20 | "LAYOUT_2_shifts": { | 18 | {"label":"K05", "x":5, "y":0}, |
| 21 | "key_count": 68, | 19 | {"label":"K06", "x":6, "y":0}, |
| 22 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K004", "x":4, "y":0}, {"label":"K005", "x":5, "y":0}, {"label":"K006", "x":6, "y":0}, {"label":"K007", "x":7, "y":0}, {"label":"K008", "x":8, "y":0}, {"label":"K009", "x":9, "y":0}, {"label":"K010", "x":10, "y":0}, {"label":"K011", "x":11, "y":0}, {"label":"K012", "x":12, "y":0}, {"label":"K013", "x":13, "y":0}, {"label":"K014", "x":14, "y":0}, {"label":"K100", "x":0, "y":1, "w":1.5}, {"label":"K102", "x":1.5, "y":1}, {"label":"K103", "x":2.5, "y":1}, {"label":"K104", "x":3.5, "y":1}, {"label":"K105", "x":4.5, "y":1}, {"label":"K106", "x":5.5, "y":1}, {"label":"K107", "x":6.5, "y":1}, {"label":"K108", "x":7.5, "y":1}, {"label":"K109", "x":8.5, "y":1}, {"label":"K110", "x":9.5, "y":1}, {"label":"K111", "x":10.5, "y":1}, {"label":"K112", "x":11.5, "y":1}, {"label":"K113", "x":12.5, "y":1}, {"label":"K114", "x":13.5, "y":1, "w":1.5}, {"label":"K200", "x":0, "y":2, "w":1.75}, {"label":"K202", "x":1.75, "y":2}, {"label":"K203", "x":2.75, "y":2}, {"label":"K204", "x":3.75, "y":2}, {"label":"K205", "x":4.75, "y":2}, {"label":"K206", "x":5.75, "y":2}, {"label":"K207", "x":6.75, "y":2}, {"label":"K208", "x":7.75, "y":2}, {"label":"K209", "x":8.75, "y":2}, {"label":"K210", "x":9.75, "y":2}, {"label":"K211", "x":10.75, "y":2}, {"label":"K212", "x":11.75, "y":2}, {"label":"K213", "x":12.75, "y":2, "w":2.25}, {"label":"K300", "x":0, "y":3}, {"label":"K301", "x":1, "y":3}, {"label":"K302", "x":2, "y":3}, {"label":"K303", "x":3, "y":3}, {"label":"K304", "x":4, "y":3}, {"label":"K305", "x":5, "y":3}, {"label":"K306", "x":6, "y":3}, {"label":"K307", "x":7, "y":3}, {"label":"K308", "x":8, "y":3}, {"label":"K309", "x":9, "y":3}, {"label":"K310", "x":10, "y":3}, {"label":"K311", "x":11, "y":3}, {"label":"K312", "x":12, "y":3}, {"label":"K313", "x":13, "y":3}, {"label":"K314", "x":14, "y":3}, {"label":"K400", "x":0, "y":4, "w":1.25}, {"label":"K401", "x":1.25, "y":4, "w":1.25}, {"label":"K403", "x":2.5, "y":4, "w":1.25}, {"label":"K404", "x":3.75, "y":4, "w":2.25}, {"label":"K406", "x":6, "y":4, "w":1.25}, {"label":"K408", "x":7.25, "y":4, "w":2.75}, {"label":"K410", "x":10, "y":4}, {"label":"K411", "x":11, "y":4}, {"label":"K412", "x":12, "y":4}, {"label":"K413", "x":13, "y":4}, {"label":"K414", "x":14, "y":4}] | 20 | {"label":"K07", "x":7, "y":0}, |
| 23 | }, | 21 | {"label":"K08", "x":8, "y":0}, |
| 24 | "LAYOUT_directional": { | 22 | {"label":"K09", "x":9, "y":0}, |
| 25 | "key_count": 67, | 23 | {"label":"K0A", "x":10, "y":0}, |
| 26 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K004", "x":4, "y":0}, {"label":"K005", "x":5, "y":0}, {"label":"K006", "x":6, "y":0}, {"label":"K007", "x":7, "y":0}, {"label":"K008", "x":8, "y":0}, {"label":"K009", "x":9, "y":0}, {"label":"K010", "x":10, "y":0}, {"label":"K011", "x":11, "y":0}, {"label":"K012", "x":12, "y":0}, {"label":"K013", "x":13, "y":0}, {"label":"K014", "x":14, "y":0}, {"label":"K100", "x":0, "y":1, "w":1.5}, {"label":"K102", "x":1.5, "y":1}, {"label":"K103", "x":2.5, "y":1}, {"label":"K104", "x":3.5, "y":1}, {"label":"K105", "x":4.5, "y":1}, {"label":"K106", "x":5.5, "y":1}, {"label":"K107", "x":6.5, "y":1}, {"label":"K108", "x":7.5, "y":1}, {"label":"K109", "x":8.5, "y":1}, {"label":"K110", "x":9.5, "y":1}, {"label":"K111", "x":10.5, "y":1}, {"label":"K112", "x":11.5, "y":1}, {"label":"K113", "x":12.5, "y":1}, {"label":"K114", "x":13.5, "y":1, "w":1.5}, {"label":"K200", "x":0, "y":2, "w":1.75}, {"label":"K202", "x":1.75, "y":2}, {"label":"K203", "x":2.75, "y":2}, {"label":"K204", "x":3.75, "y":2}, {"label":"K205", "x":4.75, "y":2}, {"label":"K206", "x":5.75, "y":2}, {"label":"K207", "x":6.75, "y":2}, {"label":"K208", "x":7.75, "y":2}, {"label":"K209", "x":8.75, "y":2}, {"label":"K210", "x":9.75, "y":2}, {"label":"K211", "x":10.75, "y":2}, {"label":"K212", "x":11.75, "y":2}, {"label":"K213", "x":12.75, "y":2, "w":2.25}, {"label":"K300", "x":0, "y":3, "w":1.25}, {"label":"K301", "x":1.25, "y":3}, {"label":"K302", "x":2.25, "y":3}, {"label":"K303", "x":3.25, "y":3}, {"label":"K304", "x":4.25, "y":3}, {"label":"K305", "x":5.25, "y":3}, {"label":"K306", "x":6.25, "y":3}, {"label":"K307", "x":7.25, "y":3}, {"label":"K308", "x":8.25, "y":3}, {"label":"K309", "x":9.25, "y":3}, {"label":"K310", "x":10.25, "y":3}, {"label":"K312", "x":11.25, "y":3, "w":1.75}, {"label":"K313", "x":13, "y":3}, {"label":"K314", "x":14, "y":3}, {"label":"K400", "x":0, "y":4, "w":1.25}, {"label":"K401", "x":1.25, "y":4, "w":1.25}, {"label":"K403", "x":2.5, "y":4, "w":1.25}, {"label":"K404", "x":3.75, "y":4, "w":2.25}, {"label":"K406", "x":6, "y":4, "w":1.25}, {"label":"K408", "x":7.25, "y":4, "w":2.75}, {"label":"K410", "x":10, "y":4}, {"label":"K411", "x":11, "y":4}, {"label":"K412", "x":12, "y":4}, {"label":"K413", "x":13, "y":4}, {"label":"K414", "x":14, "y":4}] | 24 | {"label":"K0B", "x":11, "y":0}, |
| 27 | }, | 25 | {"label":"K0C", "x":12, "y":0}, |
| 28 | "LAYOUT_mitchsplit": { | 26 | {"label":"K0D", "x":13, "y":0}, |
| 29 | "key_count": 64, | 27 | {"label":"K0E", "x":14, "y":0}, |
| 30 | "layout": [{"label":"K000", "x":0, "y":0}, {"label":"K001", "x":1, "y":0}, {"label":"K002", "x":2, "y":0}, {"label":"K003", "x":3, "y":0}, {"label":"K004", "x":4, "y":0}, {"label":"K005", "x":5, "y":0}, {"label":"K006", "x":6, "y":0}, {"label":"K007", "x":7, "y":0}, {"label":"K008", "x":8, "y":0}, {"label":"K009", "x":9, "y":0}, {"label":"K010", "x":10, "y":0}, {"label":"K011", "x":11, "y":0}, {"label":"K012", "x":12, "y":0}, {"label":"K014", "x":13, "y":0, "w":2}, {"label":"K100", "x":0, "y":1, "w":1.5}, {"label":"K102", "x":1.5, "y":1}, {"label":"K103", "x":2.5, "y":1}, {"label":"K104", "x":3.5, "y":1}, {"label":"K105", "x":4.5, "y":1}, {"label":"K106", "x":5.5, "y":1}, {"label":"K107", "x":6.5, "y":1}, {"label":"K108", "x":7.5, "y":1}, {"label":"K109", "x":8.5, "y":1}, {"label":"K110", "x":9.5, "y":1}, {"label":"K111", "x":10.5, "y":1}, {"label":"K112", "x":11.5, "y":1}, {"label":"K113", "x":12.5, "y":1}, {"label":"K114", "x":13.5, "y":1, "w":1.5}, {"label":"K200", "x":0, "y":2, "w":1.75}, {"label":"K202", "x":1.75, "y":2}, {"label":"K203", "x":2.75, "y":2}, {"label":"K204", "x":3.75, "y":2}, {"label":"K205", "x":4.75, "y":2}, {"label":"K206", "x":5.75, "y":2}, {"label":"K207", "x":6.75, "y":2}, {"label":"K208", "x":7.75, "y":2}, {"label":"K209", "x":8.75, "y":2}, {"label":"K210", "x":9.75, "y":2}, {"label":"K211", "x":10.75, "y":2}, {"label":"K212", "x":11.75, "y":2}, {"label":"K213", "x":12.75, "y":2, "w":2.25}, {"label":"K300", "x":0, "y":3, "w":2.25}, {"label":"K302", "x":2.25, "y":3}, {"label":"K303", "x":3.25, "y":3}, {"label":"K304", "x":4.25, "y":3}, {"label":"K305", "x":5.25, "y":3}, {"label":"K306", "x":6.25, "y":3}, {"label":"K307", "x":7.25, "y":3}, {"label":"K308", "x":8.25, "y":3}, {"label":"K309", "x":9.25, "y":3}, {"label":"K310", "x":10.25, "y":3}, {"label":"K311", "x":11.25, "y":3}, {"label":"K313", "x":12.25, "y":3, "w":1.75}, {"label":"K314", "x":14, "y":3}, {"label":"K400", "x":0, "y":4, "w":1.25}, {"label":"K401", "x":1.25, "y":4, "w":1.25}, {"label":"K403", "x":2.5, "y":4, "w":1.25}, {"label":"K404", "x":3.75, "y":4, "w":2.75}, {"label":"K406", "x":6.5, "y":4, "w":1.25}, {"label":"K408", "x":7.75, "y":4, "w":2.25}, {"label":"K410", "x":10, "y":4, "w":1.25}, {"label":"K411", "x":11.25, "y":4, "w":1.25}, {"label":"K413", "x":12.5, "y":4, "w":1.25}, {"label":"K414", "x":13.75, "y":4, "w":1.25}] | 28 | |
| 29 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
| 30 | {"label":"K12", "x":1.5, "y":1}, | ||
| 31 | {"label":"K13", "x":2.5, "y":1}, | ||
| 32 | {"label":"K14", "x":3.5, "y":1}, | ||
| 33 | {"label":"K15", "x":4.5, "y":1}, | ||
| 34 | {"label":"K16", "x":5.5, "y":1}, | ||
| 35 | {"label":"K17", "x":6.5, "y":1}, | ||
| 36 | {"label":"K18", "x":7.5, "y":1}, | ||
| 37 | {"label":"K19", "x":8.5, "y":1}, | ||
| 38 | {"label":"K1A", "x":9.5, "y":1}, | ||
| 39 | {"label":"K1B", "x":10.5, "y":1}, | ||
| 40 | {"label":"K1C", "x":11.5, "y":1}, | ||
| 41 | {"label":"K1D", "x":12.5, "y":1}, | ||
| 42 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
| 43 | |||
| 44 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
| 45 | {"label":"K22", "x":1.75, "y":2}, | ||
| 46 | {"label":"K23", "x":2.75, "y":2}, | ||
| 47 | {"label":"K24", "x":3.75, "y":2}, | ||
| 48 | {"label":"K25", "x":4.75, "y":2}, | ||
| 49 | {"label":"K26", "x":5.75, "y":2}, | ||
| 50 | {"label":"K27", "x":6.75, "y":2}, | ||
| 51 | {"label":"K28", "x":7.75, "y":2}, | ||
| 52 | {"label":"K29", "x":8.75, "y":2}, | ||
| 53 | {"label":"K2A", "x":9.75, "y":2}, | ||
| 54 | {"label":"K2B", "x":10.75, "y":2}, | ||
| 55 | {"label":"K2C", "x":11.75, "y":2}, | ||
| 56 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
| 57 | |||
| 58 | {"label":"K30", "x":0, "y":3}, | ||
| 59 | {"label":"K31", "x":1, "y":3}, | ||
| 60 | {"label":"K32", "x":2, "y":3}, | ||
| 61 | {"label":"K33", "x":3, "y":3}, | ||
| 62 | {"label":"K34", "x":4, "y":3}, | ||
| 63 | {"label":"K35", "x":5, "y":3}, | ||
| 64 | {"label":"K36", "x":6, "y":3}, | ||
| 65 | {"label":"K37", "x":7, "y":3}, | ||
| 66 | {"label":"K38", "x":8, "y":3}, | ||
| 67 | {"label":"K39", "x":9, "y":3}, | ||
| 68 | {"label":"K3A", "x":10, "y":3}, | ||
| 69 | {"label":"K3B", "x":11, "y":3}, | ||
| 70 | {"label":"K3C", "x":12, "y":3}, | ||
| 71 | {"label":"K3D", "x":13, "y":3}, | ||
| 72 | {"label":"K3E", "x":14, "y":3}, | ||
| 73 | |||
| 74 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
| 75 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
| 76 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
| 77 | {"label":"K44", "x":3.75, "y":4, "w":2.25}, | ||
| 78 | {"label":"K46", "x":6, "y":4, "w":1.25}, | ||
| 79 | {"label":"K48", "x":7.25, "y":4, "w":2.75}, | ||
| 80 | {"label":"K4A", "x":10, "y":4}, | ||
| 81 | {"label":"K4B", "x":11, "y":4}, | ||
| 82 | {"label":"K4C", "x":12, "y":4}, | ||
| 83 | {"label":"K4D", "x":13, "y":4}, | ||
| 84 | {"label":"K4E", "x":14, "y":4} | ||
| 85 | ] | ||
| 86 | }, | ||
| 87 | "LAYOUT": { | ||
| 88 | "layout": [ | ||
| 89 | {"label":"K00", "x":0, "y":0}, | ||
| 90 | {"label":"K01", "x":1, "y":0}, | ||
| 91 | {"label":"K02", "x":2, "y":0}, | ||
| 92 | {"label":"K03", "x":3, "y":0}, | ||
| 93 | {"label":"K04", "x":4, "y":0}, | ||
| 94 | {"label":"K05", "x":5, "y":0}, | ||
| 95 | {"label":"K06", "x":6, "y":0}, | ||
| 96 | {"label":"K07", "x":7, "y":0}, | ||
| 97 | {"label":"K08", "x":8, "y":0}, | ||
| 98 | {"label":"K09", "x":9, "y":0}, | ||
| 99 | {"label":"K0A", "x":10, "y":0}, | ||
| 100 | {"label":"K0B", "x":11, "y":0}, | ||
| 101 | {"label":"K0C", "x":12, "y":0}, | ||
| 102 | {"label":"K0D", "x":13, "y":0}, | ||
| 103 | {"label":"K0E", "x":14, "y":0}, | ||
| 104 | |||
| 105 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
| 106 | {"label":"K12", "x":1.5, "y":1}, | ||
| 107 | {"label":"K13", "x":2.5, "y":1}, | ||
| 108 | {"label":"K14", "x":3.5, "y":1}, | ||
| 109 | {"label":"K15", "x":4.5, "y":1}, | ||
| 110 | {"label":"K16", "x":5.5, "y":1}, | ||
| 111 | {"label":"K17", "x":6.5, "y":1}, | ||
| 112 | {"label":"K18", "x":7.5, "y":1}, | ||
| 113 | {"label":"K19", "x":8.5, "y":1}, | ||
| 114 | {"label":"K1A", "x":9.5, "y":1}, | ||
| 115 | {"label":"K1B", "x":10.5, "y":1}, | ||
| 116 | {"label":"K1C", "x":11.5, "y":1}, | ||
| 117 | {"label":"K1D", "x":12.5, "y":1}, | ||
| 118 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
| 119 | |||
| 120 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
| 121 | {"label":"K22", "x":1.75, "y":2}, | ||
| 122 | {"label":"K23", "x":2.75, "y":2}, | ||
| 123 | {"label":"K24", "x":3.75, "y":2}, | ||
| 124 | {"label":"K25", "x":4.75, "y":2}, | ||
| 125 | {"label":"K26", "x":5.75, "y":2}, | ||
| 126 | {"label":"K27", "x":6.75, "y":2}, | ||
| 127 | {"label":"K28", "x":7.75, "y":2}, | ||
| 128 | {"label":"K29", "x":8.75, "y":2}, | ||
| 129 | {"label":"K2A", "x":9.75, "y":2}, | ||
| 130 | {"label":"K2B", "x":10.75, "y":2}, | ||
| 131 | {"label":"K2C", "x":11.75, "y":2}, | ||
| 132 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
| 133 | |||
| 134 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
| 135 | {"label":"K31", "x":1.25, "y":3}, | ||
| 136 | {"label":"K32", "x":2.25, "y":3}, | ||
| 137 | {"label":"K33", "x":3.25, "y":3}, | ||
| 138 | {"label":"K34", "x":4.25, "y":3}, | ||
| 139 | {"label":"K35", "x":5.25, "y":3}, | ||
| 140 | {"label":"K36", "x":6.25, "y":3}, | ||
| 141 | {"label":"K37", "x":7.25, "y":3}, | ||
| 142 | {"label":"K38", "x":8.25, "y":3}, | ||
| 143 | {"label":"K39", "x":9.25, "y":3}, | ||
| 144 | {"label":"K3A", "x":10.25, "y":3}, | ||
| 145 | {"label":"K3B", "x":11.25, "y":3}, | ||
| 146 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
| 147 | {"label":"K3E", "x":14, "y":3}, | ||
| 148 | |||
| 149 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
| 150 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
| 151 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
| 152 | {"label":"K44", "x":3.75, "y":4, "w":2.25}, | ||
| 153 | {"label":"K46", "x":6, "y":4, "w":1.25}, | ||
| 154 | {"label":"K48", "x":7.25, "y":4, "w":2.75}, | ||
| 155 | {"label":"K4A", "x":10, "y":4}, | ||
| 156 | {"label":"K4B", "x":11, "y":4}, | ||
| 157 | {"label":"K4C", "x":12, "y":4}, | ||
| 158 | {"label":"K4D", "x":13, "y":4}, | ||
| 159 | {"label":"K4E", "x":14, "y":4} | ||
| 160 | ] | ||
| 161 | }, | ||
| 162 | "LAYOUT_hhkb": { | ||
| 163 | "layout": [ | ||
| 164 | {"label":"K00", "x":0, "y":0}, | ||
| 165 | {"label":"K01", "x":1, "y":0}, | ||
| 166 | {"label":"K02", "x":2, "y":0}, | ||
| 167 | {"label":"K03", "x":3, "y":0}, | ||
| 168 | {"label":"K04", "x":4, "y":0}, | ||
| 169 | {"label":"K05", "x":5, "y":0}, | ||
| 170 | {"label":"K06", "x":6, "y":0}, | ||
| 171 | {"label":"K07", "x":7, "y":0}, | ||
| 172 | {"label":"K08", "x":8, "y":0}, | ||
| 173 | {"label":"K09", "x":9, "y":0}, | ||
| 174 | {"label":"K0A", "x":10, "y":0}, | ||
| 175 | {"label":"K0B", "x":11, "y":0}, | ||
| 176 | {"label":"K0C", "x":12, "y":0}, | ||
| 177 | {"label":"K0D", "x":13, "y":0}, | ||
| 178 | {"label":"K0E", "x":14, "y":0}, | ||
| 179 | |||
| 180 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
| 181 | {"label":"K12", "x":1.5, "y":1}, | ||
| 182 | {"label":"K13", "x":2.5, "y":1}, | ||
| 183 | {"label":"K14", "x":3.5, "y":1}, | ||
| 184 | {"label":"K15", "x":4.5, "y":1}, | ||
| 185 | {"label":"K16", "x":5.5, "y":1}, | ||
| 186 | {"label":"K17", "x":6.5, "y":1}, | ||
| 187 | {"label":"K18", "x":7.5, "y":1}, | ||
| 188 | {"label":"K19", "x":8.5, "y":1}, | ||
| 189 | {"label":"K1A", "x":9.5, "y":1}, | ||
| 190 | {"label":"K1B", "x":10.5, "y":1}, | ||
| 191 | {"label":"K1C", "x":11.5, "y":1}, | ||
| 192 | {"label":"K1D", "x":12.5, "y":1}, | ||
| 193 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
| 194 | |||
| 195 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
| 196 | {"label":"K22", "x":1.75, "y":2}, | ||
| 197 | {"label":"K23", "x":2.75, "y":2}, | ||
| 198 | {"label":"K24", "x":3.75, "y":2}, | ||
| 199 | {"label":"K25", "x":4.75, "y":2}, | ||
| 200 | {"label":"K26", "x":5.75, "y":2}, | ||
| 201 | {"label":"K27", "x":6.75, "y":2}, | ||
| 202 | {"label":"K28", "x":7.75, "y":2}, | ||
| 203 | {"label":"K29", "x":8.75, "y":2}, | ||
| 204 | {"label":"K2A", "x":9.75, "y":2}, | ||
| 205 | {"label":"K2B", "x":10.75, "y":2}, | ||
| 206 | {"label":"K2C", "x":11.75, "y":2}, | ||
| 207 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
| 208 | |||
| 209 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
| 210 | {"label":"K31", "x":1.25, "y":3}, | ||
| 211 | {"label":"K32", "x":2.25, "y":3}, | ||
| 212 | {"label":"K33", "x":3.25, "y":3}, | ||
| 213 | {"label":"K34", "x":4.25, "y":3}, | ||
| 214 | {"label":"K35", "x":5.25, "y":3}, | ||
| 215 | {"label":"K36", "x":6.25, "y":3}, | ||
| 216 | {"label":"K37", "x":7.25, "y":3}, | ||
| 217 | {"label":"K38", "x":8.25, "y":3}, | ||
| 218 | {"label":"K39", "x":9.25, "y":3}, | ||
| 219 | {"label":"K3A", "x":10.25, "y":3}, | ||
| 220 | {"label":"K3B", "x":11.25, "y":3}, | ||
| 221 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
| 222 | {"label":"K3E", "x":14, "y":3}, | ||
| 223 | |||
| 224 | {"label":"K41", "x":1.5, "y":4}, | ||
| 225 | {"label":"K43", "x":2.5, "y":4, "w":1.5}, | ||
| 226 | {"label":"K46", "x":4, "y":4, "w":7}, | ||
| 227 | {"label":"K4B", "x":11, "y":4, "w":1.5}, | ||
| 228 | {"label":"K4D", "x":12.5, "y":4} | ||
| 229 | ] | ||
| 230 | }, | ||
| 231 | "LAYOUT_true_hhkb": { | ||
| 232 | "layout": [ | ||
| 233 | {"label":"K00", "x":0, "y":0}, | ||
| 234 | {"label":"K01", "x":1, "y":0}, | ||
| 235 | {"label":"K02", "x":2, "y":0}, | ||
| 236 | {"label":"K03", "x":3, "y":0}, | ||
| 237 | {"label":"K04", "x":4, "y":0}, | ||
| 238 | {"label":"K05", "x":5, "y":0}, | ||
| 239 | {"label":"K06", "x":6, "y":0}, | ||
| 240 | {"label":"K07", "x":7, "y":0}, | ||
| 241 | {"label":"K08", "x":8, "y":0}, | ||
| 242 | {"label":"K09", "x":9, "y":0}, | ||
| 243 | {"label":"K0A", "x":10, "y":0}, | ||
| 244 | {"label":"K0B", "x":11, "y":0}, | ||
| 245 | {"label":"K0C", "x":12, "y":0}, | ||
| 246 | {"label":"K0D", "x":13, "y":0}, | ||
| 247 | {"label":"K0E", "x":14, "y":0}, | ||
| 248 | |||
| 249 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
| 250 | {"label":"K12", "x":1.5, "y":1}, | ||
| 251 | {"label":"K13", "x":2.5, "y":1}, | ||
| 252 | {"label":"K14", "x":3.5, "y":1}, | ||
| 253 | {"label":"K15", "x":4.5, "y":1}, | ||
| 254 | {"label":"K16", "x":5.5, "y":1}, | ||
| 255 | {"label":"K17", "x":6.5, "y":1}, | ||
| 256 | {"label":"K18", "x":7.5, "y":1}, | ||
| 257 | {"label":"K19", "x":8.5, "y":1}, | ||
| 258 | {"label":"K1A", "x":9.5, "y":1}, | ||
| 259 | {"label":"K1B", "x":10.5, "y":1}, | ||
| 260 | {"label":"K1C", "x":11.5, "y":1}, | ||
| 261 | {"label":"K1D", "x":12.5, "y":1}, | ||
| 262 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
| 263 | |||
| 264 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
| 265 | {"label":"K22", "x":1.75, "y":2}, | ||
| 266 | {"label":"K23", "x":2.75, "y":2}, | ||
| 267 | {"label":"K24", "x":3.75, "y":2}, | ||
| 268 | {"label":"K25", "x":4.75, "y":2}, | ||
| 269 | {"label":"K26", "x":5.75, "y":2}, | ||
| 270 | {"label":"K27", "x":6.75, "y":2}, | ||
| 271 | {"label":"K28", "x":7.75, "y":2}, | ||
| 272 | {"label":"K29", "x":8.75, "y":2}, | ||
| 273 | {"label":"K2A", "x":9.75, "y":2}, | ||
| 274 | {"label":"K2B", "x":10.75, "y":2}, | ||
| 275 | {"label":"K2C", "x":11.75, "y":2}, | ||
| 276 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
| 277 | |||
| 278 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
| 279 | {"label":"K31", "x":1.25, "y":3}, | ||
| 280 | {"label":"K32", "x":2.25, "y":3}, | ||
| 281 | {"label":"K33", "x":3.25, "y":3}, | ||
| 282 | {"label":"K34", "x":4.25, "y":3}, | ||
| 283 | {"label":"K35", "x":5.25, "y":3}, | ||
| 284 | {"label":"K36", "x":6.25, "y":3}, | ||
| 285 | {"label":"K37", "x":7.25, "y":3}, | ||
| 286 | {"label":"K38", "x":8.25, "y":3}, | ||
| 287 | {"label":"K39", "x":9.25, "y":3}, | ||
| 288 | {"label":"K3A", "x":10.25, "y":3}, | ||
| 289 | {"label":"K3B", "x":11.25, "y":3}, | ||
| 290 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
| 291 | {"label":"K3E", "x":14, "y":3}, | ||
| 292 | |||
| 293 | {"label":"K41", "x":1.5, "y":4}, | ||
| 294 | {"label":"K43", "x":2.5, "y":4, "w":1.5}, | ||
| 295 | {"label":"K46", "x":4, "y":4, "w":6}, | ||
| 296 | {"label":"K4A", "x":10, "y":4, "w":1.5}, | ||
| 297 | {"label":"K4B", "x":11.5, "y":4} | ||
| 298 | ] | ||
| 299 | }, | ||
| 300 | "LAYOUT_directional": { | ||
| 301 | "layout": [ | ||
| 302 | {"label":"K00", "x":0, "y":0}, | ||
| 303 | {"label":"K01", "x":1, "y":0}, | ||
| 304 | {"label":"K02", "x":2, "y":0}, | ||
| 305 | {"label":"K03", "x":3, "y":0}, | ||
| 306 | {"label":"K04", "x":4, "y":0}, | ||
| 307 | {"label":"K05", "x":5, "y":0}, | ||
| 308 | {"label":"K06", "x":6, "y":0}, | ||
| 309 | {"label":"K07", "x":7, "y":0}, | ||
| 310 | {"label":"K08", "x":8, "y":0}, | ||
| 311 | {"label":"K09", "x":9, "y":0}, | ||
| 312 | {"label":"K0A", "x":10, "y":0}, | ||
| 313 | {"label":"K0B", "x":11, "y":0}, | ||
| 314 | {"label":"K0C", "x":12, "y":0}, | ||
| 315 | {"label":"K0D", "x":13, "y":0}, | ||
| 316 | {"label":"K0E", "x":14, "y":0}, | ||
| 317 | |||
| 318 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
| 319 | {"label":"K12", "x":1.5, "y":1}, | ||
| 320 | {"label":"K13", "x":2.5, "y":1}, | ||
| 321 | {"label":"K14", "x":3.5, "y":1}, | ||
| 322 | {"label":"K15", "x":4.5, "y":1}, | ||
| 323 | {"label":"K16", "x":5.5, "y":1}, | ||
| 324 | {"label":"K17", "x":6.5, "y":1}, | ||
| 325 | {"label":"K18", "x":7.5, "y":1}, | ||
| 326 | {"label":"K19", "x":8.5, "y":1}, | ||
| 327 | {"label":"K1A", "x":9.5, "y":1}, | ||
| 328 | {"label":"K1B", "x":10.5, "y":1}, | ||
| 329 | {"label":"K1C", "x":11.5, "y":1}, | ||
| 330 | {"label":"K1D", "x":12.5, "y":1}, | ||
| 331 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
| 332 | |||
| 333 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
| 334 | {"label":"K22", "x":1.75, "y":2}, | ||
| 335 | {"label":"K23", "x":2.75, "y":2}, | ||
| 336 | {"label":"K24", "x":3.75, "y":2}, | ||
| 337 | {"label":"K25", "x":4.75, "y":2}, | ||
| 338 | {"label":"K26", "x":5.75, "y":2}, | ||
| 339 | {"label":"K27", "x":6.75, "y":2}, | ||
| 340 | {"label":"K28", "x":7.75, "y":2}, | ||
| 341 | {"label":"K29", "x":8.75, "y":2}, | ||
| 342 | {"label":"K2A", "x":9.75, "y":2}, | ||
| 343 | {"label":"K2B", "x":10.75, "y":2}, | ||
| 344 | {"label":"K2C", "x":11.75, "y":2}, | ||
| 345 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
| 346 | |||
| 347 | {"label":"K30", "x":0, "y":3, "w":1.25}, | ||
| 348 | {"label":"K31", "x":1.25, "y":3}, | ||
| 349 | {"label":"K32", "x":2.25, "y":3}, | ||
| 350 | {"label":"K33", "x":3.25, "y":3}, | ||
| 351 | {"label":"K34", "x":4.25, "y":3}, | ||
| 352 | {"label":"K35", "x":5.25, "y":3}, | ||
| 353 | {"label":"K36", "x":6.25, "y":3}, | ||
| 354 | {"label":"K37", "x":7.25, "y":3}, | ||
| 355 | {"label":"K38", "x":8.25, "y":3}, | ||
| 356 | {"label":"K39", "x":9.25, "y":3}, | ||
| 357 | {"label":"K3A", "x":10.25, "y":3}, | ||
| 358 | {"label":"K3C", "x":11.25, "y":3, "w":1.75}, | ||
| 359 | {"label":"K3D", "x":13, "y":3}, | ||
| 360 | {"label":"K3E", "x":14, "y":3}, | ||
| 361 | |||
| 362 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
| 363 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
| 364 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
| 365 | {"label":"K44", "x":3.75, "y":4, "w":2.25}, | ||
| 366 | {"label":"K46", "x":6, "y":4, "w":1.25}, | ||
| 367 | {"label":"K48", "x":7.25, "y":4, "w":2.75}, | ||
| 368 | {"label":"K4A", "x":10, "y":4}, | ||
| 369 | {"label":"K4B", "x":11, "y":4}, | ||
| 370 | {"label":"K4C", "x":12, "y":4}, | ||
| 371 | {"label":"K4D", "x":13, "y":4}, | ||
| 372 | {"label":"K4E", "x":14, "y":4} | ||
| 373 | ] | ||
| 374 | }, | ||
| 375 | "LAYOUT_mitchsplit": { | ||
| 376 | "layout": [ | ||
| 377 | {"label":"K00", "x":0, "y":0}, | ||
| 378 | {"label":"K01", "x":1, "y":0}, | ||
| 379 | {"label":"K02", "x":2, "y":0}, | ||
| 380 | {"label":"K03", "x":3, "y":0}, | ||
| 381 | {"label":"K04", "x":4, "y":0}, | ||
| 382 | {"label":"K05", "x":5, "y":0}, | ||
| 383 | {"label":"K06", "x":6, "y":0}, | ||
| 384 | {"label":"K07", "x":7, "y":0}, | ||
| 385 | {"label":"K08", "x":8, "y":0}, | ||
| 386 | {"label":"K09", "x":9, "y":0}, | ||
| 387 | {"label":"K0A", "x":10, "y":0}, | ||
| 388 | {"label":"K0B", "x":11, "y":0}, | ||
| 389 | {"label":"K0C", "x":12, "y":0}, | ||
| 390 | {"label":"K0E", "x":13, "y":0, "w":2}, | ||
| 391 | |||
| 392 | {"label":"K10", "x":0, "y":1, "w":1.5}, | ||
| 393 | {"label":"K12", "x":1.5, "y":1}, | ||
| 394 | {"label":"K13", "x":2.5, "y":1}, | ||
| 395 | {"label":"K14", "x":3.5, "y":1}, | ||
| 396 | {"label":"K15", "x":4.5, "y":1}, | ||
| 397 | {"label":"K16", "x":5.5, "y":1}, | ||
| 398 | {"label":"K17", "x":6.5, "y":1}, | ||
| 399 | {"label":"K18", "x":7.5, "y":1}, | ||
| 400 | {"label":"K19", "x":8.5, "y":1}, | ||
| 401 | {"label":"K1A", "x":9.5, "y":1}, | ||
| 402 | {"label":"K1B", "x":10.5, "y":1}, | ||
| 403 | {"label":"K1C", "x":11.5, "y":1}, | ||
| 404 | {"label":"K1D", "x":12.5, "y":1}, | ||
| 405 | {"label":"K1E", "x":13.5, "y":1, "w":1.5}, | ||
| 406 | |||
| 407 | {"label":"K20", "x":0, "y":2, "w":1.75}, | ||
| 408 | {"label":"K22", "x":1.75, "y":2}, | ||
| 409 | {"label":"K23", "x":2.75, "y":2}, | ||
| 410 | {"label":"K24", "x":3.75, "y":2}, | ||
| 411 | {"label":"K25", "x":4.75, "y":2}, | ||
| 412 | {"label":"K26", "x":5.75, "y":2}, | ||
| 413 | {"label":"K27", "x":6.75, "y":2}, | ||
| 414 | {"label":"K28", "x":7.75, "y":2}, | ||
| 415 | {"label":"K29", "x":8.75, "y":2}, | ||
| 416 | {"label":"K2A", "x":9.75, "y":2}, | ||
| 417 | {"label":"K2B", "x":10.75, "y":2}, | ||
| 418 | {"label":"K2C", "x":11.75, "y":2}, | ||
| 419 | {"label":"K2D", "x":12.75, "y":2, "w":2.25}, | ||
| 420 | |||
| 421 | {"label":"K30", "x":0, "y":3, "w":2.25}, | ||
| 422 | {"label":"K32", "x":2.25, "y":3}, | ||
| 423 | {"label":"K33", "x":3.25, "y":3}, | ||
| 424 | {"label":"K34", "x":4.25, "y":3}, | ||
| 425 | {"label":"K35", "x":5.25, "y":3}, | ||
| 426 | {"label":"K36", "x":6.25, "y":3}, | ||
| 427 | {"label":"K37", "x":7.25, "y":3}, | ||
| 428 | {"label":"K38", "x":8.25, "y":3}, | ||
| 429 | {"label":"K39", "x":9.25, "y":3}, | ||
| 430 | {"label":"K3A", "x":10.25, "y":3}, | ||
| 431 | {"label":"K3B", "x":11.25, "y":3}, | ||
| 432 | {"label":"K3D", "x":12.25, "y":3, "w":1.75}, | ||
| 433 | {"label":"K3E", "x":14, "y":3}, | ||
| 434 | |||
| 435 | {"label":"K40", "x":0, "y":4, "w":1.25}, | ||
| 436 | {"label":"K41", "x":1.25, "y":4, "w":1.25}, | ||
| 437 | {"label":"K43", "x":2.5, "y":4, "w":1.25}, | ||
| 438 | {"label":"K44", "x":3.75, "y":4, "w":2.75}, | ||
| 439 | {"label":"K46", "x":6.5, "y":4, "w":1.25}, | ||
| 440 | {"label":"K48", "x":7.75, "y":4, "w":2.25}, | ||
| 441 | {"label":"K4A", "x":10, "y":4, "w":1.25}, | ||
| 442 | {"label":"K4B", "x":11.25, "y":4, "w":1.25}, | ||
| 443 | {"label":"K4D", "x":12.5, "y":4, "w":1.25}, | ||
| 444 | {"label":"K4E", "x":13.75, "y":4, "w":1.25} | ||
| 445 | ] | ||
| 446 | } | ||
| 31 | } | 447 | } |
| 32 | } | ||
| 33 | } | 448 | } |
diff --git a/keyboards/acr60/keymaps/default/keymap.c b/keyboards/acr60/keymaps/default/keymap.c index aafc1dfe6..e7381c578 100644 --- a/keyboards/acr60/keymaps/default/keymap.c +++ b/keyboards/acr60/keymaps/default/keymap.c | |||
| @@ -1,67 +1,38 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | /* Copyright 2017 Ryan Mitchell (@newtmitch) |
| 2 | 2 | * 2021 James Young for QMK (@noroadsleft) | |
| 3 | #define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)) | 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 | */ | ||
| 4 | 17 | ||
| 5 | enum custom_keycodes { | 18 | #include QMK_KEYBOARD_H |
| 6 | SFT_ESC = SAFE_RANGE | ||
| 7 | }; | ||
| 8 | 19 | ||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 10 | 21 | ||
| 11 | /* | 22 | [0] = LAYOUT_all( |
| 12 | * Default keymap with standard 60% layout. Split space possible but entirely optional with this layout, as this | 23 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, XXXXXXX, KC_BSPC, |
| 13 | * layout covers all three split space keys as space keycodes. This also has alt right next to the space bar | 24 | 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, |
| 14 | * on both sides (Windows keyboard layout), no right-side system/GUI key, and momentary layer switching on | 25 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, |
| 15 | * the right modifiers into the 3rd (macro) and 2nd (function/sfx) layers, respectively. This also has the grave | 26 | 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, MO(1), |
| 16 | * accent key set up on the 2nd layer, although on the first layer it includes grave key (tilde) when shift is held down, | 27 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT |
| 17 | * via the function actions code at the bottom. | 28 | ), |
| 18 | */ | 29 | |
| 19 | LAYOUT( | 30 | [1] = LAYOUT_all( |
| 20 | SFT_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_NO, KC_BSPC, | 31 | 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, |
| 21 | 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, | 32 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, RESET, |
| 22 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 23 | KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO, | 34 | _______, _______, _______, _______, BL_DEC, BL_TOGG, BL_INC, BL_STEP, _______, _______, _______, _______, _______, _______, _______, |
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(2), KC_NO, MO(1), KC_RCTL), | 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 25 | 36 | ), | |
| 26 | LAYOUT( | ||
| 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_TRNS, KC_DEL, | ||
| 28 | KC_TRNS, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RESET, | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BL_DEC, BL_TOGG, BL_INC, BL_STEP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 32 | 37 | ||
| 33 | LAYOUT( | ||
| 34 | KC_TRNS, M(1), M(2), M(3), M(4), M(5), M(6), M(7), M(8), M(9), M(10), M(11), M(12), KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 39 | }; | 38 | }; |
| 40 | |||
| 41 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 42 | switch (keycode) { | ||
| 43 | case SFT_ESC: | ||
| 44 | if (record->event.pressed) { | ||
| 45 | if (get_mods() & MODS_SHIFT_MASK) { | ||
| 46 | add_key(KC_GRV); | ||
| 47 | send_keyboard_report(); | ||
| 48 | } else { | ||
| 49 | add_key(KC_ESC); | ||
| 50 | send_keyboard_report(); | ||
| 51 | } | ||
| 52 | } else { | ||
| 53 | if (get_mods() & MODS_SHIFT_MASK) { | ||
| 54 | del_key(KC_GRV); | ||
| 55 | send_keyboard_report(); | ||
| 56 | } else { | ||
| 57 | del_key(KC_ESC); | ||
| 58 | send_keyboard_report(); | ||
| 59 | } | ||
| 60 | } | ||
| 61 | |||
| 62 | return false; | ||
| 63 | |||
| 64 | default: | ||
| 65 | return true; | ||
| 66 | } | ||
| 67 | } | ||
diff --git a/keyboards/acr60/readme.md b/keyboards/acr60/readme.md index 54ea265f1..70b617dfd 100644 --- a/keyboards/acr60/readme.md +++ b/keyboards/acr60/readme.md | |||
| @@ -1,18 +1,24 @@ | |||
| 1 | ACR60 | 1 | # ACR60 |
| 2 | ===== | ||
| 3 | 2 | ||
| 4 |  | 3 |  |
| 5 | 4 | ||
| 6 | A customizable 60% keyboard made and sold by mechkeys.ca [More info on MECHKEYS](https://mechkeys.ca) | 5 | A customizable 60% keyboard made and sold by mechkeys.ca [More info on MECHKEYS](https://mechkeys.ca) |
| 7 | 6 | ||
| 8 | Keyboard Maintainer: [TurboMech](https://github.com/TurboMech) | 7 | * Keyboard Maintainer: [TurboMech](https://github.com/TurboMech) |
| 9 | 8 | * Hardware Supported: ACR60 | |
| 10 | Hardware Supported: ACR60 | 9 | * Hardware Availability: [~~MECHKEYS~~](https://mechkeys.ca/products/acr60) (no longer available) |
| 11 | |||
| 12 | Hardware Availability: [MECHKEYS](https://mechkeys.ca/products/acr60) | ||
| 13 | 10 | ||
| 14 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
| 15 | 12 | ||
| 16 | make acr60:default | 13 | make acr60:default |
| 17 | 14 | ||
| 18 | See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. | 15 | Flashing example for this keyboard: |
| 16 | |||
| 17 | make acr60:default:flash | ||
| 18 | |||
| 19 | To reset the board into bootloader mode, do one of the following: | ||
| 20 | |||
| 21 | * Tap the Reset switch mounted on the bottom side of the PCB | ||
| 22 | * Hold Space+B while connecting the USB cable | ||
| 23 | |||
| 24 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).` | ||
