diff options
| author | sh-xguitar <ibanez_shine@yahoo.com> | 2020-08-06 15:03:27 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-06 01:03:27 -0700 |
| commit | cb9b81cc103f801febd67dcaf0c86322a2bfddc8 (patch) | |
| tree | e0d6429278ffc977a207449988804a0cd3439138 /keyboards/ash_xiix | |
| parent | 904c5613f41859ccc07057278b41587224b84871 (diff) | |
| download | qmk_firmware-cb9b81cc103f801febd67dcaf0c86322a2bfddc8.tar.gz qmk_firmware-cb9b81cc103f801febd67dcaf0c86322a2bfddc8.zip | |
[Keyboard] added ASH-XIIX keyboard (#9833)
* Create readme.md
* Update readme.md
* Update readme.md
* Create ash_xiix.c
* Create ash_xiix.h
* Create info.json
* Create config.h
* Create rules.mk
* Create keymap.c
* Update keyboards/ash_xiix/rules.mk
* Update keyboards/ash_xiix/config.h
* Update keyboards/ash_xiix/config.h
* Update keyboards/ash_xiix/config.h
* Update keyboards/ash_xiix/info.json
* Update keyboards/ash_xiix/info.json
* Update keyboards/ash_xiix/readme.md
* Update readme.md
* Update readme.md
Diffstat (limited to 'keyboards/ash_xiix')
| -rw-r--r-- | keyboards/ash_xiix/ash_xiix.c | 25 | ||||
| -rw-r--r-- | keyboards/ash_xiix/ash_xiix.h | 51 | ||||
| -rw-r--r-- | keyboards/ash_xiix/config.h | 56 | ||||
| -rw-r--r-- | keyboards/ash_xiix/info.json | 540 | ||||
| -rw-r--r-- | keyboards/ash_xiix/keymaps/default/keymap.c | 37 | ||||
| -rw-r--r-- | keyboards/ash_xiix/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/ash_xiix/rules.mk | 22 |
7 files changed, 746 insertions, 0 deletions
diff --git a/keyboards/ash_xiix/ash_xiix.c b/keyboards/ash_xiix/ash_xiix.c new file mode 100644 index 000000000..56e6f48d0 --- /dev/null +++ b/keyboards/ash_xiix/ash_xiix.c | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | /* Copyright 2020 sh_xguitar | ||
| 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 "ash_xiix.h" | ||
| 17 | |||
| 18 | bool led_update_kb(led_t led_state) { | ||
| 19 | if (led_update_user(led_state)) { | ||
| 20 | writePin(NUM_LOCK_LED_PIN, led_state.num_lock); | ||
| 21 | writePin(CAPS_LOCK_LED_PIN, led_state.caps_lock); | ||
| 22 | writePin(SCROLL_LOCK_LED_PIN, led_state.scroll_lock); | ||
| 23 | } | ||
| 24 | return true; | ||
| 25 | } | ||
diff --git a/keyboards/ash_xiix/ash_xiix.h b/keyboards/ash_xiix/ash_xiix.h new file mode 100644 index 000000000..48f9a31a2 --- /dev/null +++ b/keyboards/ash_xiix/ash_xiix.h | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | /* Copyright 2020 sh_xguitar | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | /* This a shortcut to help you visually see your layout. | ||
| 21 | * | ||
| 22 | * The first section contains all of the arguments representing the physical | ||
| 23 | * layout of the board and position of the keys. | ||
| 24 | * | ||
| 25 | * The second converts the arguments into a two-dimensional array which | ||
| 26 | * represents the switch matrix. | ||
| 27 | */ | ||
| 28 | #define LAYOUT_all( \ | ||
| 29 | k00, k01, k02, k03, k60, k61, k62, k63, k04, k05, k06, k07, k08, k54, k55, k56, k57, \ | ||
| 30 | k64, k65, k66, k67, \ | ||
| 31 | k10, k11, k12, k13, k70, k71, k72, k73, k14, k15, k16, k17, k18, k19, k74, k75, k76, k77, \ | ||
| 32 | k20, k21, k22, k23, k80, k81, k82, k83, k24, k25, k26, k27, k28, k29, k84, k85, k86, k87, \ | ||
| 33 | k30, k31, k32, k33, k90, k91, k92, k93, k34, k35, k36, k37, k38, k94, k95, k96, k97, \ | ||
| 34 | k40, k41, k42, k43, ka0, ka1, ka2, ka3, k44, k45, k46, k47, k48, ka9, ka4, ka5, ka6, ka7, \ | ||
| 35 | k50, k51, k52, k53, kb4, kb7, ka8, kb8, kb9, kb5, kb6 \ | ||
| 36 | ) \ | ||
| 37 | { \ | ||
| 38 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, KC_NO }, \ | ||
| 39 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
| 40 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
| 41 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, KC_NO }, \ | ||
| 42 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, KC_NO }, \ | ||
| 43 | { k50, k51, k52, k53, k54, k55, k56, k57, KC_NO, KC_NO }, \ | ||
| 44 | { k60, k61, k62, k63, k64, k65, k66, k67, KC_NO, KC_NO }, \ | ||
| 45 | { k70, k71, k72, k73, k74, k75, k76, k77, KC_NO, KC_NO }, \ | ||
| 46 | { k80, k81, k82, k83, k84, k85, k86, k87, KC_NO, KC_NO }, \ | ||
| 47 | { k90, k91, k92, k93, k94, k95, k96, k97, KC_NO, KC_NO }, \ | ||
| 48 | { ka0, ka1, ka2, ka3, ka4, ka5, ka6, ka7, ka8, ka9 }, \ | ||
| 49 | { KC_NO, KC_NO, KC_NO, KC_NO, kb4, kb5, kb6, kb7, kb8, kb9 } \ | ||
| 50 | } | ||
| 51 | |||
diff --git a/keyboards/ash_xiix/config.h b/keyboards/ash_xiix/config.h new file mode 100644 index 000000000..bcfdaeef7 --- /dev/null +++ b/keyboards/ash_xiix/config.h | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 sh_xguitar | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #pragma once | ||
| 16 | |||
| 17 | #include "config_common.h" | ||
| 18 | |||
| 19 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0xFEED | ||
| 21 | #define PRODUCT_ID 0x14BC | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER ASH | ||
| 24 | #define PRODUCT XIIX | ||
| 25 | |||
| 26 | /* key matrix size */ | ||
| 27 | #define MATRIX_ROWS 12 | ||
| 28 | #define MATRIX_COLS 10 | ||
| 29 | |||
| 30 | /* | ||
| 31 | * Keyboard Matrix Assignments | ||
| 32 | * | ||
| 33 | * Change this to how you wired your keyboard | ||
| 34 | * COLS: AVR pins used for columns, left to right | ||
| 35 | * ROWS: AVR pins used for rows, top to bottom | ||
| 36 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 37 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 38 | * | ||
| 39 | */ | ||
| 40 | #define MATRIX_ROW_PINS { C6, B6, B5, B4, D7, D0, D1, D2, D3, D5, D4, D6 } | ||
| 41 | #define MATRIX_COL_PINS { F1, F4, F5, F6, B0, B2, B1, B3, B7, C7 } | ||
| 42 | #define UNUSED_PINS | ||
| 43 | |||
| 44 | #define NUM_LOCK_LED_PIN E6 | ||
| 45 | #define CAPS_LOCK_LED_PIN F0 | ||
| 46 | #define SCROLL_LOCK_LED_PIN F7 | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 52 | #define DEBOUNCE 5 | ||
| 53 | |||
| 54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 55 | #define LOCKING_SUPPORT_ENABLE | ||
| 56 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/ash_xiix/info.json b/keyboards/ash_xiix/info.json new file mode 100644 index 000000000..c81eb0a6b --- /dev/null +++ b/keyboards/ash_xiix/info.json | |||
| @@ -0,0 +1,540 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "ASH-XIIX", | ||
| 3 | "url": "config.qmk.fm", | ||
| 4 | "maintainer": "qmk", | ||
| 5 | "width": 19.5, | ||
| 6 | "height": 7.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [ | ||
| 10 | { | ||
| 11 | "label": "Esc", | ||
| 12 | "x": 0, | ||
| 13 | "y": 0 | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "label": "F1", | ||
| 17 | "x": 1.25, | ||
| 18 | "y": 0 | ||
| 19 | }, | ||
| 20 | { | ||
| 21 | "label": "F2", | ||
| 22 | "x": 2.25, | ||
| 23 | "y": 0 | ||
| 24 | }, | ||
| 25 | { | ||
| 26 | "label": "F3", | ||
| 27 | "x": 3.25, | ||
| 28 | "y": 0 | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | "label": "F4", | ||
| 32 | "x": 4.25, | ||
| 33 | "y": 0 | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | "label": "F5", | ||
| 37 | "x": 5.5, | ||
| 38 | "y": 0 | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | "label": "F6", | ||
| 42 | "x": 6.5, | ||
| 43 | "y": 0 | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | "label": "F7", | ||
| 47 | "x": 7.5, | ||
| 48 | "y": 0 | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "label": "F8", | ||
| 52 | "x": 8.5, | ||
| 53 | "y": 0 | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | "label": "F9", | ||
| 57 | "x": 9.75, | ||
| 58 | "y": 0 | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "label": "F10", | ||
| 62 | "x": 10.75, | ||
| 63 | "y": 0 | ||
| 64 | }, | ||
| 65 | { | ||
| 66 | "label": "F11", | ||
| 67 | "x": 11.75, | ||
| 68 | "y": 0 | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "label": "F12", | ||
| 72 | "x": 12.75, | ||
| 73 | "y": 0 | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "label": "Insert", | ||
| 77 | "x": 15.5, | ||
| 78 | "y": 0 | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "label": "Home", | ||
| 82 | "x": 16.5, | ||
| 83 | "y": 0 | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | "label": "PgUp", | ||
| 87 | "x": 17.5, | ||
| 88 | "y": 0 | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "label": "PrtSc", | ||
| 92 | "x": 18.5, | ||
| 93 | "y": 0 | ||
| 94 | }, | ||
| 95 | { | ||
| 96 | "label": "Del", | ||
| 97 | "x": 15.5, | ||
| 98 | "y": 1 | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "label": "End", | ||
| 102 | "x": 16.5, | ||
| 103 | "y": 1 | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "label": "PgDn", | ||
| 107 | "x": 17.5, | ||
| 108 | "y": 1 | ||
| 109 | }, | ||
| 110 | { | ||
| 111 | "label": "Scroll Lock", | ||
| 112 | "x": 18.5, | ||
| 113 | "y": 1 | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "label": "~", | ||
| 117 | "x": 0, | ||
| 118 | "y": 2 | ||
| 119 | }, | ||
| 120 | { | ||
| 121 | "label": "!", | ||
| 122 | "x": 1, | ||
| 123 | "y": 2 | ||
| 124 | }, | ||
| 125 | { | ||
| 126 | "label": "@", | ||
| 127 | "x": 2, | ||
| 128 | "y": 2 | ||
| 129 | }, | ||
| 130 | { | ||
| 131 | "label": "#", | ||
| 132 | "x": 3, | ||
| 133 | "y": 2 | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | "label": "$", | ||
| 137 | "x": 4, | ||
| 138 | "y": 2 | ||
| 139 | }, | ||
| 140 | { | ||
| 141 | "label": "%", | ||
| 142 | "x": 5, | ||
| 143 | "y": 2 | ||
| 144 | }, | ||
| 145 | { | ||
| 146 | "label": "^", | ||
| 147 | "x": 6, | ||
| 148 | "y": 2 | ||
| 149 | }, | ||
| 150 | { | ||
| 151 | "label": "&", | ||
| 152 | "x": 7, | ||
| 153 | "y": 2 | ||
| 154 | }, | ||
| 155 | { | ||
| 156 | "label": "", | ||
| 157 | "x": 8, | ||
| 158 | "y": 2 | ||
| 159 | }, | ||
| 160 | { | ||
| 161 | "label": "(", | ||
| 162 | "x": 9, | ||
| 163 | "y": 2 | ||
| 164 | }, | ||
| 165 | { | ||
| 166 | "label": ")", | ||
| 167 | "x": 10, | ||
| 168 | "y": 2 | ||
| 169 | }, | ||
| 170 | { | ||
| 171 | "label": "_", | ||
| 172 | "x": 11, | ||
| 173 | "y": 2 | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | "label": "+", | ||
| 177 | "x": 12, | ||
| 178 | "y": 2 | ||
| 179 | }, | ||
| 180 | { | ||
| 181 | "label": "Backspace", | ||
| 182 | "x": 13, | ||
| 183 | "y": 2, | ||
| 184 | "w": 2 | ||
| 185 | }, | ||
| 186 | { | ||
| 187 | "label": "Num Lock", | ||
| 188 | "x": 15.5, | ||
| 189 | "y": 2 | ||
| 190 | }, | ||
| 191 | { | ||
| 192 | "label": "/", | ||
| 193 | "x": 16.5, | ||
| 194 | "y": 2 | ||
| 195 | }, | ||
| 196 | { | ||
| 197 | "x": 17.5, | ||
| 198 | "y": 2 | ||
| 199 | }, | ||
| 200 | { | ||
| 201 | "label": "Pause", | ||
| 202 | "x": 18.5, | ||
| 203 | "y": 2 | ||
| 204 | }, | ||
| 205 | { | ||
| 206 | "label": "Tab", | ||
| 207 | "x": 0, | ||
| 208 | "y": 3, | ||
| 209 | "w": 1.5 | ||
| 210 | }, | ||
| 211 | { | ||
| 212 | "label": "Q", | ||
| 213 | "x": 1.5, | ||
| 214 | "y": 3 | ||
| 215 | }, | ||
| 216 | { | ||
| 217 | "label": "W", | ||
| 218 | "x": 2.5, | ||
| 219 | "y": 3 | ||
| 220 | }, | ||
| 221 | { | ||
| 222 | "label": "E", | ||
| 223 | "x": 3.5, | ||
| 224 | "y": 3 | ||
| 225 | }, | ||
| 226 | { | ||
| 227 | "label": "R", | ||
| 228 | "x": 4.5, | ||
| 229 | "y": 3 | ||
| 230 | }, | ||
| 231 | { | ||
| 232 | "label": "T", | ||
| 233 | "x": 5.5, | ||
| 234 | "y": 3 | ||
| 235 | }, | ||
| 236 | { | ||
| 237 | "label": "Y", | ||
| 238 | "x": 6.5, | ||
| 239 | "y": 3 | ||
| 240 | }, | ||
| 241 | { | ||
| 242 | "label": "U", | ||
| 243 | "x": 7.5, | ||
| 244 | "y": 3 | ||
| 245 | }, | ||
| 246 | { | ||
| 247 | "label": "I", | ||
| 248 | "x": 8.5, | ||
| 249 | "y": 3 | ||
| 250 | }, | ||
| 251 | { | ||
| 252 | "label": "O", | ||
| 253 | "x": 9.5, | ||
| 254 | "y": 3 | ||
| 255 | }, | ||
| 256 | { | ||
| 257 | "label": "P", | ||
| 258 | "x": 10.5, | ||
| 259 | "y": 3 | ||
| 260 | }, | ||
| 261 | { | ||
| 262 | "label": "{", | ||
| 263 | "x": 11.5, | ||
| 264 | "y": 3 | ||
| 265 | }, | ||
| 266 | { | ||
| 267 | "label": "}", | ||
| 268 | "x": 12.5, | ||
| 269 | "y": 3 | ||
| 270 | }, | ||
| 271 | { | ||
| 272 | "label": "|", | ||
| 273 | "x": 13.5, | ||
| 274 | "y": 3, | ||
| 275 | "w": 1.5 | ||
| 276 | }, | ||
| 277 | { | ||
| 278 | "label": "7", | ||
| 279 | "x": 15.5, | ||
| 280 | "y": 3 | ||
| 281 | }, | ||
| 282 | { | ||
| 283 | "label": "8", | ||
| 284 | "x": 16.5, | ||
| 285 | "y": 3 | ||
| 286 | }, | ||
| 287 | { | ||
| 288 | "label": "9", | ||
| 289 | "x": 17.5, | ||
| 290 | "y": 3 | ||
| 291 | }, | ||
| 292 | { | ||
| 293 | "label": "-", | ||
| 294 | "x": 18.5, | ||
| 295 | "y": 3 | ||
| 296 | }, | ||
| 297 | { | ||
| 298 | "label": "Caps Lock", | ||
| 299 | "x": 0, | ||
| 300 | "y": 4, | ||
| 301 | "w": 1.75 | ||
| 302 | }, | ||
| 303 | { | ||
| 304 | "label": "A", | ||
| 305 | "x": 1.75, | ||
| 306 | "y": 4 | ||
| 307 | }, | ||
| 308 | { | ||
| 309 | "label": "S", | ||
| 310 | "x": 2.75, | ||
| 311 | "y": 4 | ||
| 312 | }, | ||
| 313 | { | ||
| 314 | "label": "D", | ||
| 315 | "x": 3.75, | ||
| 316 | "y": 4 | ||
| 317 | }, | ||
| 318 | { | ||
| 319 | "label": "F", | ||
| 320 | "x": 4.75, | ||
| 321 | "y": 4 | ||
| 322 | }, | ||
| 323 | { | ||
| 324 | "label": "G", | ||
| 325 | "x": 5.75, | ||
| 326 | "y": 4 | ||
| 327 | }, | ||
| 328 | { | ||
| 329 | "label": "H", | ||
| 330 | "x": 6.75, | ||
| 331 | "y": 4 | ||
| 332 | }, | ||
| 333 | { | ||
| 334 | "label": "J", | ||
| 335 | "x": 7.75, | ||
| 336 | "y": 4 | ||
| 337 | }, | ||
| 338 | { | ||
| 339 | "label": "K", | ||
| 340 | "x": 8.75, | ||
| 341 | "y": 4 | ||
| 342 | }, | ||
| 343 | { | ||
| 344 | "label": "L", | ||
| 345 | "x": 9.75, | ||
| 346 | "y": 4 | ||
| 347 | }, | ||
| 348 | { | ||
| 349 | "label": ":", | ||
| 350 | "x": 10.75, | ||
| 351 | "y": 4 | ||
| 352 | }, | ||
| 353 | { | ||
| 354 | "label": "\"", | ||
| 355 | "x": 11.75, | ||
| 356 | "y": 4 | ||
| 357 | }, | ||
| 358 | { | ||
| 359 | "label": "Enter", | ||
| 360 | "x": 12.75, | ||
| 361 | "y": 4, | ||
| 362 | "w": 2.25 | ||
| 363 | }, | ||
| 364 | { | ||
| 365 | "label": "4", | ||
| 366 | "x": 15.5, | ||
| 367 | "y": 4 | ||
| 368 | }, | ||
| 369 | { | ||
| 370 | "label": "5", | ||
| 371 | "x": 16.5, | ||
| 372 | "y": 4 | ||
| 373 | }, | ||
| 374 | { | ||
| 375 | "label": "6", | ||
| 376 | "x": 17.5, | ||
| 377 | "y": 4 | ||
| 378 | }, | ||
| 379 | { | ||
| 380 | "label": "+", | ||
| 381 | "x": 18.5, | ||
| 382 | "y": 4 | ||
| 383 | }, | ||
| 384 | { | ||
| 385 | "label": "Shift", | ||
| 386 | "x": 0, | ||
| 387 | "y": 5, | ||
| 388 | "w": 1.25 | ||
| 389 | }, | ||
| 390 | { | ||
| 391 | "label": "ISO1", | ||
| 392 | "x": 1.25, | ||
| 393 | "y": 5 | ||
| 394 | }, | ||
| 395 | { | ||
| 396 | "label": "Z", | ||
| 397 | "x": 2.25, | ||
| 398 | "y": 5 | ||
| 399 | }, | ||
| 400 | { | ||
| 401 | "label": "X", | ||
| 402 | "x": 3.25, | ||
| 403 | "y": 5 | ||
| 404 | }, | ||
| 405 | { | ||
| 406 | "label": "C", | ||
| 407 | "x": 4.25, | ||
| 408 | "y": 5 | ||
| 409 | }, | ||
| 410 | { | ||
| 411 | "label": "V", | ||
| 412 | "x": 5.25, | ||
| 413 | "y": 5 | ||
| 414 | }, | ||
| 415 | { | ||
| 416 | "label": "B", | ||
| 417 | "x": 6.25, | ||
| 418 | "y": 5 | ||
| 419 | }, | ||
| 420 | { | ||
| 421 | "label": "N", | ||
| 422 | "x": 7.25, | ||
| 423 | "y": 5 | ||
| 424 | }, | ||
| 425 | { | ||
| 426 | "label": "M", | ||
| 427 | "x": 8.25, | ||
| 428 | "y": 5 | ||
| 429 | }, | ||
| 430 | { | ||
| 431 | "label": "<", | ||
| 432 | "x": 9.25, | ||
| 433 | "y": 5 | ||
| 434 | }, | ||
| 435 | { | ||
| 436 | "label": ">", | ||
| 437 | "x": 10.25, | ||
| 438 | "y": 5 | ||
| 439 | }, | ||
| 440 | { | ||
| 441 | "label": "?", | ||
| 442 | "x": 11.25, | ||
| 443 | "y": 5 | ||
| 444 | }, | ||
| 445 | { | ||
| 446 | "label": "Shift", | ||
| 447 | "x": 12.25, | ||
| 448 | "y": 5, | ||
| 449 | "w": 1.75 | ||
| 450 | }, | ||
| 451 | { | ||
| 452 | "label": "up", | ||
| 453 | "x": 14.25, | ||
| 454 | "y": 5.25 | ||
| 455 | }, | ||
| 456 | { | ||
| 457 | "label": "1", | ||
| 458 | "x": 15.5, | ||
| 459 | "y": 5 | ||
| 460 | }, | ||
| 461 | { | ||
| 462 | "label": "2", | ||
| 463 | "x": 16.5, | ||
| 464 | "y": 5 | ||
| 465 | }, | ||
| 466 | { | ||
| 467 | "label": "3", | ||
| 468 | "x": 17.5, | ||
| 469 | "y": 5 | ||
| 470 | }, | ||
| 471 | { | ||
| 472 | "label": "Enter", | ||
| 473 | "x": 18.5, | ||
| 474 | "y": 5, | ||
| 475 | "h": 2 | ||
| 476 | }, | ||
| 477 | { | ||
| 478 | "label": "Ctrl", | ||
| 479 | "x": 0, | ||
| 480 | "y": 6, | ||
| 481 | "w": 1.25 | ||
| 482 | }, | ||
| 483 | { | ||
| 484 | "label": "OS", | ||
| 485 | "x": 1.25, | ||
| 486 | "y": 6, | ||
| 487 | "w": 1.25 | ||
| 488 | }, | ||
| 489 | { | ||
| 490 | "label": "Alt", | ||
| 491 | "x": 2.5, | ||
| 492 | "y": 6, | ||
| 493 | "w": 1.25 | ||
| 494 | }, | ||
| 495 | { | ||
| 496 | "x": 3.75, | ||
| 497 | "y": 6, | ||
| 498 | "w": 6.25 | ||
| 499 | }, | ||
| 500 | { | ||
| 501 | "label": "Alt", | ||
| 502 | "x": 10, | ||
| 503 | "y": 6, | ||
| 504 | "w": 1.5 | ||
| 505 | }, | ||
| 506 | { | ||
| 507 | "label": "Ctrl", | ||
| 508 | "x": 11.5, | ||
| 509 | "y": 6, | ||
| 510 | "w": 1.5 | ||
| 511 | }, | ||
| 512 | { | ||
| 513 | "label": "left", | ||
| 514 | "x": 13.25, | ||
| 515 | "y": 6.25 | ||
| 516 | }, | ||
| 517 | { | ||
| 518 | "label": "down", | ||
| 519 | "x": 14.25, | ||
| 520 | "y": 6.25 | ||
| 521 | }, | ||
| 522 | { | ||
| 523 | "label": "right", | ||
| 524 | "x": 15.25, | ||
| 525 | "y": 6.25 | ||
| 526 | }, | ||
| 527 | { | ||
| 528 | "label": "0", | ||
| 529 | "x": 16.5, | ||
| 530 | "y": 6 | ||
| 531 | }, | ||
| 532 | { | ||
| 533 | "label": ".", | ||
| 534 | "x": 17.5, | ||
| 535 | "y": 6 | ||
| 536 | } | ||
| 537 | ] | ||
| 538 | } | ||
| 539 | } | ||
| 540 | } | ||
diff --git a/keyboards/ash_xiix/keymaps/default/keymap.c b/keyboards/ash_xiix/keymaps/default/keymap.c new file mode 100644 index 000000000..2127dc590 --- /dev/null +++ b/keyboards/ash_xiix/keymaps/default/keymap.c | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Copyright 2020 sh_xguitar | ||
| 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_all ( /* Base */ | ||
| 20 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_HOME, KC_PGUP, KC_PSCR, | ||
| 21 | KC_DEL, KC_END, KC_PGDN, KC_SLCK, | ||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NLCK, KC_PSLS, KC_PAST, MO(1), | ||
| 23 | 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_P7, KC_P8, KC_P9, KC_PMNS, | ||
| 24 | 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_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 25 | KC_LSFT, KC_BSLS, 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_P1, KC_P2, KC_P3, KC_PENT, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT, KC_P0, KC_PDOT | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT_all ( | ||
| 29 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, KC_MUTE, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_CALC, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, KC_MPLY, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT, _______, _______ | ||
| 36 | ), | ||
| 37 | }; | ||
diff --git a/keyboards/ash_xiix/readme.md b/keyboards/ash_xiix/readme.md new file mode 100644 index 000000000..1fbecfaac --- /dev/null +++ b/keyboards/ash_xiix/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # ASH-XIIX | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | In mission to fill my Cherry 1800 case. So I continue developing 1800 PCB (ASH-1800) to fit G80-1800 case. It has some update to make ASH-XIIX more user friendly. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [sh_xguitar](https://github.com/sh-xguitar) | ||
| 8 | * Keyboard Specification: ATmega32u4, 5P TH MINI USB, JST-PH 5P, Larger ISP Header. | ||
| 9 | * Hardware Availability: Sold in Indonesia only | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make ash_xiix:default | ||
| 14 | |||
| 15 | 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/ash_xiix/rules.mk b/keyboards/ash_xiix/rules.mk new file mode 100644 index 000000000..32981133b --- /dev/null +++ b/keyboards/ash_xiix/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 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 = yes # 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 = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
