diff options
| author | mechlovin <57231893+mechlovin@users.noreply.github.com> | 2020-08-04 09:46:55 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 19:46:55 -0700 |
| commit | 2c9e210c36a7d145b21bc59350b76b3bacbc3beb (patch) | |
| tree | 28828671637d335a983b22dfd112139cfc190362 /keyboards/mechlovin/hannah910 | |
| parent | 12fce9b88d8d70463ec32dc94e0abaa987bf389c (diff) | |
| download | qmk_firmware-2c9e210c36a7d145b21bc59350b76b3bacbc3beb.tar.gz qmk_firmware-2c9e210c36a7d145b21bc59350b76b3bacbc3beb.zip | |
[Keyboard] add Hannah910 rev3 (#9710)
Diffstat (limited to 'keyboards/mechlovin/hannah910')
| -rw-r--r-- | keyboards/mechlovin/hannah910/hannah910.h | 2 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/readme.md | 6 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/config.h | 6 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/info.json | 159 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/ansi/keymap.c | 47 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/ansi/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/default/keymap.c | 27 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/via/keymap.c | 48 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/rev3.h | 34 | ||||
| -rw-r--r-- | keyboards/mechlovin/hannah910/rev3/rules.mk | 24 |
14 files changed, 374 insertions, 2 deletions
diff --git a/keyboards/mechlovin/hannah910/hannah910.h b/keyboards/mechlovin/hannah910/hannah910.h index de9929bd1..2cc38d069 100644 --- a/keyboards/mechlovin/hannah910/hannah910.h +++ b/keyboards/mechlovin/hannah910/hannah910.h | |||
| @@ -21,4 +21,6 @@ | |||
| 21 | #include "rev1.h" | 21 | #include "rev1.h" |
| 22 | #elif KEYBOARD_mechlovin_hannah910_rev2 | 22 | #elif KEYBOARD_mechlovin_hannah910_rev2 |
| 23 | #include "rev2.h" | 23 | #include "rev2.h" |
| 24 | #elif KEYBOARD_mechlovin_hannah910_rev3 | ||
| 25 | #include "rev3.h" | ||
| 24 | #endif | 26 | #endif |
diff --git a/keyboards/mechlovin/hannah910/readme.md b/keyboards/mechlovin/hannah910/readme.md index b16b294a5..4f95938b5 100644 --- a/keyboards/mechlovin/hannah910/readme.md +++ b/keyboards/mechlovin/hannah910/readme.md | |||
| @@ -2,20 +2,22 @@ | |||
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | Replacement PCB and plate for TGR 910 keyboard | 5 | Replacement PCB and plate for TGR 910 keyboard, Kyuu Keyboard (TypeC version) |
| 6 | 6 | ||
| 7 | * Keyboard Maintainer: [Mechlovin'](https://github.com/mechlovin) | 7 | * Keyboard Maintainer: [Mechlovin'](https://github.com/mechlovin) |
| 8 | * Hardware Supported: TGR910 CE, TGR910 SE | 8 | * Hardware Supported: TGR910 CE, TGR910 SE, Kyuu (TypeC version) |
| 9 | * Hardware Availability: [Reddit Group Buy](https://www.reddit.com/r/mechmarket/comments/dhwvbn/gb_1015_update_hannah_910_group_buy_tgr_910/) | 9 | * Hardware Availability: [Reddit Group Buy](https://www.reddit.com/r/mechmarket/comments/dhwvbn/gb_1015_update_hannah_910_group_buy_tgr_910/) |
| 10 | 10 | ||
| 11 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
| 12 | 12 | ||
| 13 | make mechlovin/hannah910/rev1:default | 13 | make mechlovin/hannah910/rev1:default |
| 14 | make mechlovin/hannah910/rev2:default | 14 | make mechlovin/hannah910/rev2:default |
| 15 | make mechlovin/hannah910/rev3:default | ||
| 15 | 16 | ||
| 16 | Make firmware for keymap with VIA: | 17 | Make firmware for keymap with VIA: |
| 17 | 18 | ||
| 18 | make mechlovin/hannah910/rev1:via | 19 | make mechlovin/hannah910/rev1:via |
| 19 | make mechlovin/hannah910/rev2:via | 20 | make mechlovin/hannah910/rev2:via |
| 21 | make mechlovin/hannah910/rev3:via | ||
| 20 | 22 | ||
| 21 | 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). | 23 | 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). |
diff --git a/keyboards/mechlovin/hannah910/rev3/config.h b/keyboards/mechlovin/hannah910/rev3/config.h new file mode 100644 index 000000000..b6e539d67 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/config.h | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define PRODUCT_ID 0x9103 | ||
| 4 | #define DEVICE_VER 0x0002 | ||
| 5 | |||
| 6 | #define RGBLED_NUM 28 \ No newline at end of file | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/info.json b/keyboards/mechlovin/hannah910/rev3/info.json new file mode 100644 index 000000000..8cde5d253 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/info.json | |||
| @@ -0,0 +1,159 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "hannah910-rev3", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Team Mechlovin'", | ||
| 5 | "width": 16, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"K00 (B0,B5)", "x":0, "y":0}, | ||
| 11 | {"label":"K01 (B0,B6)", "x":1, "y":0}, | ||
| 12 | {"label":"K02 (B0,B7)", "x":2, "y":0}, | ||
| 13 | {"label":"K03 (B0,C0)", "x":3, "y":0}, | ||
| 14 | {"label":"K04 (B0,C1)", "x":4, "y":0}, | ||
| 15 | {"label":"K05 (B0,C2)", "x":5, "y":0}, | ||
| 16 | {"label":"K06 (B0,C3)", "x":6, "y":0}, | ||
| 17 | {"label":"K07 (B0,C4)", "x":7, "y":0}, | ||
| 18 | {"label":"K08 (B0,C5)", "x":8, "y":0}, | ||
| 19 | {"label":"K09 (B0,C6)", "x":9, "y":0}, | ||
| 20 | {"label":"K0A (B0,C7)", "x":10, "y":0}, | ||
| 21 | {"label":"K0B (B0,D0)", "x":11, "y":0}, | ||
| 22 | {"label":"K0C (B0,D1)", "x":12, "y":0}, | ||
| 23 | {"label":"K0D (B0,D2)", "x":13, "y":0}, | ||
| 24 | {"label":"K0E (B0,D3)", "x":14, "y":0}, | ||
| 25 | {"label":"K48 (B4,C5)", "x":15, "y":0}, | ||
| 26 | {"label":"K10 (B1,B5)", "x":0, "y":1, "w":1.5}, | ||
| 27 | {"label":"K11 (B1,B6)", "x":1.5, "y":1}, | ||
| 28 | {"label":"K12 (B1,B7)", "x":2.5, "y":1}, | ||
| 29 | {"label":"K13 (B1,C0)", "x":3.5, "y":1}, | ||
| 30 | {"label":"K14 (B1,C1)", "x":4.5, "y":1}, | ||
| 31 | {"label":"K15 (B1,C2)", "x":5.5, "y":1}, | ||
| 32 | {"label":"K16 (B1,C3)", "x":6.5, "y":1}, | ||
| 33 | {"label":"K17 (B1,C4)", "x":7.5, "y":1}, | ||
| 34 | {"label":"K18 (B1,C5)", "x":8.5, "y":1}, | ||
| 35 | {"label":"K19 (B1,C6)", "x":9.5, "y":1}, | ||
| 36 | {"label":"K1A (B1,C7)", "x":10.5, "y":1}, | ||
| 37 | {"label":"K1B (B1,D0)", "x":11.5, "y":1}, | ||
| 38 | {"label":"K1C (B1,D1)", "x":12.5, "y":1}, | ||
| 39 | {"label":"K1D (B1,D2)", "x":13.5, "y":1, "w":1.5}, | ||
| 40 | {"label":"K1E (B1,D3)", "x":15, "y":1}, | ||
| 41 | {"label":"K20 (B2,B5)", "x":0, "y":2, "w":1.75}, | ||
| 42 | {"label":"K21 (B2,B6)", "x":1.75, "y":2}, | ||
| 43 | {"label":"K22 (B2,B7)", "x":2.75, "y":2}, | ||
| 44 | {"label":"K23 (B2,C0)", "x":3.75, "y":2}, | ||
| 45 | {"label":"K24 (B2,C1)", "x":4.75, "y":2}, | ||
| 46 | {"label":"K25 (B2,C2)", "x":5.75, "y":2}, | ||
| 47 | {"label":"K26 (B2,C3)", "x":6.75, "y":2}, | ||
| 48 | {"label":"K27 (B2,C4)", "x":7.75, "y":2}, | ||
| 49 | {"label":"K28 (B2,C5)", "x":8.75, "y":2}, | ||
| 50 | {"label":"K29 (B2,C6)", "x":9.75, "y":2}, | ||
| 51 | {"label":"K2A (B2,C7)", "x":10.75, "y":2}, | ||
| 52 | {"label":"K2B (B2,D0)", "x":11.75, "y":2}, | ||
| 53 | {"label":"K2C (B2,D1)", "x":12.75, "y":2}, | ||
| 54 | {"label":"K2D (B2,D2)", "x":13.75, "y":2, "w":1.25}, | ||
| 55 | {"label":"K2E (B2,D3)", "x":15, "y":2}, | ||
| 56 | {"label":"K30 (B3,B5)", "x":0, "y":3, "w":1.25}, | ||
| 57 | {"label":"K31 (B3,B6)", "x":1.25, "y":3}, | ||
| 58 | {"label":"K32 (B3,B7)", "x":2.25, "y":3}, | ||
| 59 | {"label":"K33 (B3,C0)", "x":3.25, "y":3}, | ||
| 60 | {"label":"K34 (B3,C1)", "x":4.25, "y":3}, | ||
| 61 | {"label":"K35 (B3,C2)", "x":5.25, "y":3}, | ||
| 62 | {"label":"K36 (B3,C3)", "x":6.25, "y":3}, | ||
| 63 | {"label":"K37 (B3,C4)", "x":7.25, "y":3}, | ||
| 64 | {"label":"K38 (B3,C5)", "x":8.25, "y":3}, | ||
| 65 | {"label":"K39 (B3,C6)", "x":9.25, "y":3}, | ||
| 66 | {"label":"K3A (B3,C7)", "x":10.25, "y":3}, | ||
| 67 | {"label":"K3B (B3,D0)", "x":11.25, "y":3}, | ||
| 68 | {"label":"K3C (B3,D1)", "x":12.25, "y":3, "w":1.75}, | ||
| 69 | {"label":"K3D (B3,D2)", "x":14, "y":3}, | ||
| 70 | {"label":"K3E (B3,D3)", "x":15, "y":3}, | ||
| 71 | {"label":"K40 (B4,B5)", "x":0, "y":4, "w":1.25}, | ||
| 72 | {"label":"K41 (B4,B6)", "x":1.25, "y":4, "w":1.25}, | ||
| 73 | {"label":"K42 (B4,B7)", "x":2.5, "y":4, "w":1.25}, | ||
| 74 | {"label":"K43 (B4,C0)", "x":3.75, "y":4, "w":2.75}, | ||
| 75 | {"label":"K46 (B4,C3)", "x":6.5, "y":4, "w":1.25}, | ||
| 76 | {"label":"K47 (B4,C4)", "x":7.75, "y":4, "w":2.25}, | ||
| 77 | {"label":"K49 (B4,C6)", "x":10, "y":4}, | ||
| 78 | {"label":"K4A (B4,C7)", "x":11, "y":4}, | ||
| 79 | {"label":"K4B (B4,D0)", "x":12, "y":4}, | ||
| 80 | {"label":"K4C (B4,D1)", "x":13, "y":4}, | ||
| 81 | {"label":"K4D (B4,D2)", "x":14, "y":4}, | ||
| 82 | {"label":"K4E (B4,D3)", "x":15, "y":4} | ||
| 83 | ] | ||
| 84 | }, | ||
| 85 | "LAYOUT_65_ansi": { | ||
| 86 | "layout": [ | ||
| 87 | {"label":"K00 (B0,B5)", "x":0, "y":0}, | ||
| 88 | {"label":"K01 (B0,B6)", "x":1, "y":0}, | ||
| 89 | {"label":"K02 (B0,B7)", "x":2, "y":0}, | ||
| 90 | {"label":"K03 (B0,C0)", "x":3, "y":0}, | ||
| 91 | {"label":"K04 (B0,C1)", "x":4, "y":0}, | ||
| 92 | {"label":"K05 (B0,C2)", "x":5, "y":0}, | ||
| 93 | {"label":"K06 (B0,C3)", "x":6, "y":0}, | ||
| 94 | {"label":"K07 (B0,C4)", "x":7, "y":0}, | ||
| 95 | {"label":"K08 (B0,C5)", "x":8, "y":0}, | ||
| 96 | {"label":"K09 (B0,C6)", "x":9, "y":0}, | ||
| 97 | {"label":"K0A (B0,C7)", "x":10, "y":0}, | ||
| 98 | {"label":"K0B (B0,D0)", "x":11, "y":0}, | ||
| 99 | {"label":"K0C (B0,D1)", "x":12, "y":0}, | ||
| 100 | {"label":"K0D (B0,D2)", "x":13, "y":0, "w":2}, | ||
| 101 | {"label":"K48 (B4,C5)", "x":15, "y":0}, | ||
| 102 | {"label":"K10 (B1,B5)", "x":0, "y":1, "w":1.5}, | ||
| 103 | {"label":"K11 (B1,B6)", "x":1.5, "y":1}, | ||
| 104 | {"label":"K12 (B1,B7)", "x":2.5, "y":1}, | ||
| 105 | {"label":"K13 (B1,C0)", "x":3.5, "y":1}, | ||
| 106 | {"label":"K14 (B1,C1)", "x":4.5, "y":1}, | ||
| 107 | {"label":"K15 (B1,C2)", "x":5.5, "y":1}, | ||
| 108 | {"label":"K16 (B1,C3)", "x":6.5, "y":1}, | ||
| 109 | {"label":"K17 (B1,C4)", "x":7.5, "y":1}, | ||
| 110 | {"label":"K18 (B1,C5)", "x":8.5, "y":1}, | ||
| 111 | {"label":"K19 (B1,C6)", "x":9.5, "y":1}, | ||
| 112 | {"label":"K1A (B1,C7)", "x":10.5, "y":1}, | ||
| 113 | {"label":"K1B (B1,D0)", "x":11.5, "y":1}, | ||
| 114 | {"label":"K1C (B1,D1)", "x":12.5, "y":1}, | ||
| 115 | {"label":"K1D (B1,D2)", "x":13.5, "y":1, "w":1.5}, | ||
| 116 | {"label":"K1E (B1,D3)", "x":15, "y":1}, | ||
| 117 | {"label":"K20 (B2,B5)", "x":0, "y":2, "w":1.75}, | ||
| 118 | {"label":"K21 (B2,B6)", "x":1.75, "y":2}, | ||
| 119 | {"label":"K22 (B2,B7)", "x":2.75, "y":2}, | ||
| 120 | {"label":"K23 (B2,C0)", "x":3.75, "y":2}, | ||
| 121 | {"label":"K24 (B2,C1)", "x":4.75, "y":2}, | ||
| 122 | {"label":"K25 (B2,C2)", "x":5.75, "y":2}, | ||
| 123 | {"label":"K26 (B2,C3)", "x":6.75, "y":2}, | ||
| 124 | {"label":"K27 (B2,C4)", "x":7.75, "y":2}, | ||
| 125 | {"label":"K28 (B2,C5)", "x":8.75, "y":2}, | ||
| 126 | {"label":"K29 (B2,C6)", "x":9.75, "y":2}, | ||
| 127 | {"label":"K2A (B2,C7)", "x":10.75, "y":2}, | ||
| 128 | {"label":"K2B (B2,D0)", "x":11.75, "y":2}, | ||
| 129 | {"label":"K2D (B2,D2)", "x":12.75, "y":2, "w":2.25}, | ||
| 130 | {"label":"K2E (B2,D3)", "x":15, "y":2}, | ||
| 131 | {"label":"K30 (B3,B5)", "x":0, "y":3, "w":2.25}, | ||
| 132 | {"label":"K32 (B3,B7)", "x":2.25, "y":3}, | ||
| 133 | {"label":"K33 (B3,C0)", "x":3.25, "y":3}, | ||
| 134 | {"label":"K34 (B3,C1)", "x":4.25, "y":3}, | ||
| 135 | {"label":"K35 (B3,C2)", "x":5.25, "y":3}, | ||
| 136 | {"label":"K36 (B3,C3)", "x":6.25, "y":3}, | ||
| 137 | {"label":"K37 (B3,C4)", "x":7.25, "y":3}, | ||
| 138 | {"label":"K38 (B3,C5)", "x":8.25, "y":3}, | ||
| 139 | {"label":"K39 (B3,C6)", "x":9.25, "y":3}, | ||
| 140 | {"label":"K3A (B3,C7)", "x":10.25, "y":3}, | ||
| 141 | {"label":"K3B (B3,D0)", "x":11.25, "y":3}, | ||
| 142 | {"label":"K3C (B3,D1)", "x":12.25, "y":3, "w":1.75}, | ||
| 143 | {"label":"K3D (B3,D2)", "x":14, "y":3}, | ||
| 144 | {"label":"K3E (B3,D3)", "x":15, "y":3}, | ||
| 145 | {"label":"K40 (B4,B5)", "x":0, "y":4, "w":1.25}, | ||
| 146 | {"label":"K41 (B4,B6)", "x":1.25, "y":4, "w":1.25}, | ||
| 147 | {"label":"K42 (B4,B7)", "x":2.5, "y":4, "w":1.25}, | ||
| 148 | {"label":"K46 (B4,C3)", "x":3.75, "y":4, "w":6.25}, | ||
| 149 | {"label":"K49 (B4,C6)", "x":10, "y":4}, | ||
| 150 | {"label":"K4A (B4,C7)", "x":11, "y":4}, | ||
| 151 | {"label":"K4B (B4,D0)", "x":12, "y":4}, | ||
| 152 | {"label":"K4C (B4,D1)", "x":13, "y":4}, | ||
| 153 | {"label":"K4D (B4,D2)", "x":14, "y":4}, | ||
| 154 | {"label":"K4E (B4,D3)", "x":15, "y":4} | ||
| 155 | ] | ||
| 156 | } | ||
| 157 | } | ||
| 158 | ,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/" | ||
| 159 | } | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/ansi/keymap.c b/keyboards/mechlovin/hannah910/rev3/keymaps/ansi/keymap.c new file mode 100644 index 000000000..70ba2431b --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/ansi/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* Copyright 2019 Mechlovin | ||
| 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 | [0] = LAYOUT_65_ansi( /* Base */ | ||
| 20 | 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_BSPC, KC_PSCR, | ||
| 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, KC_INS, | ||
| 22 | LT(1,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, KC_HOME, | ||
| 23 | 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_END, | ||
| 24 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 25 | ), | ||
| 26 | [1] = LAYOUT_65_ansi( | ||
| 27 | 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, KC_TRNS, | ||
| 28 | 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, KC_TRNS, | ||
| 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, KC_TRNS, | ||
| 30 | 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, | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 32 | ), | ||
| 33 | [2] = LAYOUT_65_ansi( | ||
| 34 | 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, 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, 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, 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 | ||
| 39 | ), | ||
| 40 | [3] = LAYOUT_65_ansi( | ||
| 41 | 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, KC_TRNS, | ||
| 42 | 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, KC_TRNS, | ||
| 43 | 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, | ||
| 44 | 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, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 46 | ), | ||
| 47 | }; \ No newline at end of file | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/ansi/readme.md b/keyboards/mechlovin/hannah910/rev3/keymaps/ansi/readme.md new file mode 100644 index 000000000..f1f3ec901 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/ansi/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The ansi keymap for hannah910v2 \ No newline at end of file | |||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/default/keymap.c b/keyboards/mechlovin/hannah910/rev3/keymaps/default/keymap.c new file mode 100644 index 000000000..59f46dfba --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/default/keymap.c | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* Copyright 2020 Mechlovin | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT_all( /* Base */ | ||
| 21 | 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_BSPC, KC_DEL, KC_PSCR, | ||
| 22 | 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_INS, | ||
| 23 | LT(1,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_NUHS, KC_ENT, KC_HOME, | ||
| 24 | 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, KC_END, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | }; \ No newline at end of file | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/default/readme.md b/keyboards/mechlovin/hannah910/rev3/keymaps/default/readme.md new file mode 100644 index 000000000..f073d24c2 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The full keymap for hannah910v2 \ No newline at end of file | |||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/via/keymap.c b/keyboards/mechlovin/hannah910/rev3/keymaps/via/keymap.c new file mode 100644 index 000000000..4bef3d0f4 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/via/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2020 Mechlovin | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT_all( /* Base */ | ||
| 21 | 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_BSPC, KC_DEL, KC_PSCR, | ||
| 22 | 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_INS, | ||
| 23 | LT(1,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_NUHS, KC_ENT, KC_HOME, | ||
| 24 | 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, KC_END, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | [1] = LAYOUT_all( | ||
| 28 | 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, KC_TRNS, KC_TRNS, | ||
| 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, KC_TRNS, KC_TRNS, | ||
| 30 | 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 33 | ), | ||
| 34 | [2] = LAYOUT_all( | ||
| 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, 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 40 | ), | ||
| 41 | [3] = LAYOUT_all( | ||
| 42 | 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, KC_TRNS, KC_TRNS, | ||
| 43 | 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, KC_TRNS, | ||
| 44 | 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, KC_TRNS, | ||
| 45 | 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, KC_TRNS, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 47 | ), | ||
| 48 | }; \ No newline at end of file | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/via/readme.md b/keyboards/mechlovin/hannah910/rev3/keymaps/via/readme.md new file mode 100644 index 000000000..8dac1d912 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The via keymap for hannah910v3 \ No newline at end of file | |||
diff --git a/keyboards/mechlovin/hannah910/rev3/keymaps/via/rules.mk b/keyboards/mechlovin/hannah910/rev3/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/mechlovin/hannah910/rev3/readme.md b/keyboards/mechlovin/hannah910/rev3/readme.md new file mode 100644 index 000000000..5e5339693 --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # hannah910 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Replacement PCB and plate for TGR 910 keyboard, Kyuu Keyboard (TypeC version) | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Mechlovin'](https://github.com/mechlovin) | ||
| 8 | * Hardware Supported: TGR910 CE, TGR910 SE, Kyuu (TypeC version) | ||
| 9 | * Hardware Availability: [Reddit Group Buy](https://www.reddit.com/r/mechmarket/comments/dhwvbn/gb_1015_update_hannah_910_group_buy_tgr_910/) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make mechlovin/hannah910/rev3:default | ||
| 14 | |||
| 15 | Make firmware for keymap with VIA: | ||
| 16 | |||
| 17 | make mechlovin/hannah910/rev3:via | ||
| 18 | |||
| 19 | 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). | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/rev3.h b/keyboards/mechlovin/hannah910/rev3/rev3.h new file mode 100644 index 000000000..2a987538d --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/rev3.h | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | |||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | #define LAYOUT_all( \ | ||
| 9 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K48, \ | ||
| 10 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
| 11 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \ | ||
| 12 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ | ||
| 13 | K40, K41, K42, K43, K46, K47, K49, K4A, K4B, K4C, K4D, K4E \ | ||
| 14 | ) { \ | ||
| 15 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
| 16 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
| 17 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \ | ||
| 18 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ | ||
| 19 | { K40, K41, K42, K43, KC_NO, KC_NO, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E }, \ | ||
| 20 | } | ||
| 21 | |||
| 22 | #define LAYOUT_65_ansi( \ | ||
| 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K48, \ | ||
| 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \ | ||
| 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, K2E, \ | ||
| 26 | K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ | ||
| 27 | K40, K41, K42, K46, K49, K4A, K4B, K4C, K4D, K4E \ | ||
| 28 | ) { \ | ||
| 29 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, KC_NO }, \ | ||
| 30 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
| 31 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D, K2E }, \ | ||
| 32 | { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ | ||
| 33 | { K40, K41, K42, KC_NO, KC_NO, KC_NO, K46, KC_NO, K48, K49, K4A, K4B, K4C, K4D, K4E }, \ | ||
| 34 | } | ||
diff --git a/keyboards/mechlovin/hannah910/rev3/rules.mk b/keyboards/mechlovin/hannah910/rev3/rules.mk new file mode 100644 index 000000000..a8100762d --- /dev/null +++ b/keyboards/mechlovin/hannah910/rev3/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | LAYOUTS = 65_ansi \ No newline at end of file | ||
