diff options
| author | rhmokey <57172003+rhmokey@users.noreply.github.com> | 2022-01-11 09:07:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-10 17:07:09 -0800 |
| commit | adaaee4edf485374362347198183f0cbdc42e418 (patch) | |
| tree | b0df7ff66e38c9a5ba3e36d346a284e105fc17c7 | |
| parent | dce611bc9fd6c6d47e6c5d935ca263ff50a5afc2 (diff) | |
| download | qmk_firmware-adaaee4edf485374362347198183f0cbdc42e418.tar.gz qmk_firmware-adaaee4edf485374362347198183f0cbdc42e418.zip | |
[Keyboard] Add xox70hot (#15632)
| -rw-r--r-- | keyboards/mokey/xox70hot/config.h | 36 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/info.json | 85 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/keymaps/default/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/keymaps/via/keymap.c | 47 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/rules.mk | 18 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/xox70hot.c | 15 | ||||
| -rw-r--r-- | keyboards/mokey/xox70hot/xox70hot.h | 37 |
9 files changed, 293 insertions, 0 deletions
diff --git a/keyboards/mokey/xox70hot/config.h b/keyboards/mokey/xox70hot/config.h new file mode 100644 index 000000000..bc2279e3d --- /dev/null +++ b/keyboards/mokey/xox70hot/config.h | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Kyle McCreery | ||
| 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 | #pragma once | ||
| 15 | |||
| 16 | #include "config_common.h" | ||
| 17 | |||
| 18 | /* USB Device descriptor parameter */ | ||
| 19 | #define VENDOR_ID 0x6653 | ||
| 20 | #define PRODUCT_ID 0x3371 | ||
| 21 | #define DEVICE_VER 0x0001 | ||
| 22 | #define MANUFACTURER Mokey | ||
| 23 | #define PRODUCT xox70hot | ||
| 24 | |||
| 25 | /* key matrix size */ | ||
| 26 | #define MATRIX_ROWS 5 | ||
| 27 | #define MATRIX_COLS 18 | ||
| 28 | |||
| 29 | #define MATRIX_ROW_PINS { F7, B7, F5, F1, B0 } | ||
| 30 | #define MATRIX_COL_PINS { F6, C7, F4, F5, F1, B6, D0, D2, D3, D1, D7, D4, D5, D6, B4, B5, C6, B7 } | ||
| 31 | #define UNUSED_PINS | ||
| 32 | |||
| 33 | #define DIODE_DIRECTION COL2ROW | ||
| 34 | |||
| 35 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 36 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/mokey/xox70hot/info.json b/keyboards/mokey/xox70hot/info.json new file mode 100644 index 000000000..08bcc556c --- /dev/null +++ b/keyboards/mokey/xox70hot/info.json | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "xox70hot", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Mokey", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"label":"k00", "x":0, "y":0}, | ||
| 9 | {"label":"k01", "x":1, "y":0}, | ||
| 10 | {"label":"k02", "x":2, "y":0}, | ||
| 11 | {"label":"k03", "x":3, "y":0}, | ||
| 12 | {"label":"k04", "x":4, "y":0}, | ||
| 13 | {"label":"k05", "x":5, "y":0}, | ||
| 14 | {"label":"k06", "x":6, "y":0}, | ||
| 15 | {"label":"k07", "x":7, "y":0}, | ||
| 16 | {"label":"k08", "x":8, "y":0}, | ||
| 17 | {"label":"k09", "x":9, "y":0}, | ||
| 18 | {"label":"k0a", "x":10, "y":0}, | ||
| 19 | {"label":"k0b", "x":11, "y":0}, | ||
| 20 | {"label":"k0c", "x":12, "y":0}, | ||
| 21 | {"label":"k0e", "x":13, "y":0, "w":2}, | ||
| 22 | {"label":"k0f", "x":15.25, "y":0}, | ||
| 23 | {"label":"k0g", "x":16.25, "y":0}, | ||
| 24 | {"label":"k0h", "x":17.25, "y":0}, | ||
| 25 | |||
| 26 | {"label":"k10", "x":0, "y":1, "w":1.5}, | ||
| 27 | {"label":"k12", "x":1.5, "y":1}, | ||
| 28 | {"label":"k13", "x":2.5, "y":1}, | ||
| 29 | {"label":"k14", "x":3.5, "y":1}, | ||
| 30 | {"label":"k15", "x":4.5, "y":1}, | ||
| 31 | {"label":"k16", "x":5.5, "y":1}, | ||
| 32 | {"label":"k17", "x":6.5, "y":1}, | ||
| 33 | {"label":"k18", "x":7.5, "y":1}, | ||
| 34 | {"label":"k19", "x":8.5, "y":1}, | ||
| 35 | {"label":"k1a", "x":9.5, "y":1}, | ||
| 36 | {"label":"k1b", "x":10.5, "y":1}, | ||
| 37 | {"label":"k1c", "x":11.5, "y":1}, | ||
| 38 | {"label":"k1d", "x":12.5, "y":1}, | ||
| 39 | {"label":"k1e", "x":13.5, "y":1, "w":1.5}, | ||
| 40 | {"label":"k1f", "x":15.25, "y":1}, | ||
| 41 | {"label":"k1g", "x":16.25, "y":1}, | ||
| 42 | {"label":"k1h", "x":17.25, "y":1}, | ||
| 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, "w":2.25}, | ||
| 59 | {"label":"k32", "x":2.25, "y":3}, | ||
| 60 | {"label":"k33", "x":3.25, "y":3}, | ||
| 61 | {"label":"k34", "x":4.25, "y":3}, | ||
| 62 | {"label":"k35", "x":5.25, "y":3}, | ||
| 63 | {"label":"k36", "x":6.25, "y":3}, | ||
| 64 | {"label":"k37", "x":7.25, "y":3}, | ||
| 65 | {"label":"k38", "x":8.25, "y":3}, | ||
| 66 | {"label":"k39", "x":9.25, "y":3}, | ||
| 67 | {"label":"k3a", "x":10.25, "y":3}, | ||
| 68 | {"label":"k3b", "x":11.25, "y":3}, | ||
| 69 | {"label":"k3d", "x":12.25, "y":3, "w":2.75}, | ||
| 70 | {"label":"k3g", "x":16.25, "y":3}, | ||
| 71 | |||
| 72 | {"label":"k40", "x":0, "y":4, "w":1.5}, | ||
| 73 | {"label":"k41", "x":1.5, "y":4}, | ||
| 74 | {"label":"k43", "x":2.5, "y":4, "w":1.5}, | ||
| 75 | {"label":"k46", "x":4, "y":4, "w":7}, | ||
| 76 | {"label":"k4a", "x":11, "y":4, "w":1.5}, | ||
| 77 | {"label":"k4b", "x":12.5, "y":4}, | ||
| 78 | {"label":"k4e", "x":13.5, "y":4, "w":1.5}, | ||
| 79 | {"label":"k4f", "x":15.25, "y":4}, | ||
| 80 | {"label":"k4g", "x":16.25, "y":4}, | ||
| 81 | {"label":"k4h", "x":17.25, "y":4} | ||
| 82 | ] | ||
| 83 | } | ||
| 84 | } | ||
| 85 | } \ No newline at end of file | ||
diff --git a/keyboards/mokey/xox70hot/keymaps/default/keymap.c b/keyboards/mokey/xox70hot/keymaps/default/keymap.c new file mode 100644 index 000000000..574639fee --- /dev/null +++ b/keyboards/mokey/xox70hot/keymaps/default/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2021 Ocean | ||
| 2 | * This program is free software: you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License as published by | ||
| 4 | * the Free Software Foundation, either version 2 of the License, or | ||
| 5 | * (at your option) any later version. | ||
| 6 | * | ||
| 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 | * | ||
| 12 | * You should have received a copy of the GNU General Public License | ||
| 13 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | |||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | LAYOUT( | ||
| 21 | 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, KC_BSPC, KC_INSERT, KC_HOME, KC_PGUP, | ||
| 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_DELETE, KC_END, KC_PGDOWN, | ||
| 23 | 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, | ||
| 24 | 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, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_GRV, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 26 | ), | ||
| 27 | |||
| 28 | LAYOUT( | ||
| 29 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 34 | ) | ||
| 35 | }; | ||
diff --git a/keyboards/mokey/xox70hot/keymaps/via/keymap.c b/keyboards/mokey/xox70hot/keymaps/via/keymap.c new file mode 100644 index 000000000..bee84ef86 --- /dev/null +++ b/keyboards/mokey/xox70hot/keymaps/via/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* Copyright 2021 Ocean | ||
| 2 | * This program is free software: you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License as published by | ||
| 4 | * the Free Software Foundation, either version 2 of the License, or | ||
| 5 | * (at your option) any later version. | ||
| 6 | * | ||
| 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 | * | ||
| 12 | * You should have received a copy of the GNU General Public License | ||
| 13 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | |||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | |||
| 20 | [0] = LAYOUT_all( | ||
| 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_INSERT, KC_HOME, KC_PGUP, | ||
| 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_DELETE, KC_END, KC_PGDOWN, | ||
| 23 | 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_ENT, | ||
| 24 | 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_RSFT,KC_UP, | ||
| 25 | KC_LCTL, KC_LGUI, KC_LALT,KC_SPC,KC_RALT, KC_RGUI, KC_RCTL,KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 26 | |||
| 27 | [1] = LAYOUT_all( | ||
| 28 | KC_TRNS, 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_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,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, 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), | ||
| 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,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,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, 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), | ||
| 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,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,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, 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) | ||
| 47 | }; | ||
diff --git a/keyboards/mokey/xox70hot/keymaps/via/rules.mk b/keyboards/mokey/xox70hot/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/mokey/xox70hot/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/mokey/xox70hot/readme.md b/keyboards/mokey/xox70hot/readme.md new file mode 100644 index 000000000..eb5848917 --- /dev/null +++ b/keyboards/mokey/xox70hot/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # xox70hot | ||
| 2 | |||
| 3 | Support Atmega32u4 keyboard. | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [rhmokey](https://github.com/rhmokey) | ||
| 6 | * Hardware Supported: Atmega32u4 | ||
| 7 | |||
| 8 | ## Bootloader | ||
| 9 | * **Physical reset button**: Short press the button on the back of the PCB to enter the Bootloader and flash the firmware | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make mokey/xox70hot:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make mokey/xox70hot:default:flash | ||
| 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/mokey/xox70hot/rules.mk b/keyboards/mokey/xox70hot/rules.mk new file mode 100644 index 000000000..72aebf2d0 --- /dev/null +++ b/keyboards/mokey/xox70hot/rules.mk | |||
| @@ -0,0 +1,18 @@ | |||
| 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 = yes # Enable Bootmagic Lite | ||
| 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 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output \ No newline at end of file | ||
diff --git a/keyboards/mokey/xox70hot/xox70hot.c b/keyboards/mokey/xox70hot/xox70hot.c new file mode 100644 index 000000000..728b5e4e3 --- /dev/null +++ b/keyboards/mokey/xox70hot/xox70hot.c | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | /* Copyright 2021 Ocean | ||
| 2 | * This program is free software: you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License as published by | ||
| 4 | * the Free Software Foundation, either version 2 of the License, or | ||
| 5 | * (at your option) any later version. | ||
| 6 | * | ||
| 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 | * | ||
| 12 | * You should have received a copy of the GNU General Public License | ||
| 13 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | #include "xox70hot.h" \ No newline at end of file | ||
diff --git a/keyboards/mokey/xox70hot/xox70hot.h b/keyboards/mokey/xox70hot/xox70hot.h new file mode 100644 index 000000000..e4ed4bff5 --- /dev/null +++ b/keyboards/mokey/xox70hot/xox70hot.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Copyright 2021 Ocean | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define xxx KC_NO | ||
| 22 | |||
| 23 | #define LAYOUT(\ | ||
| 24 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0e, k0f, k0g, k0h, \ | ||
| 25 | k10, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h, \ | ||
| 26 | k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
| 27 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3g, \ | ||
| 28 | k40, k41, k43, k46, k4a, k4b, k4e, k4f, k4g, k4h \ | ||
| 29 | ) \ | ||
| 30 | { \ | ||
| 31 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, k0f, k0g, k0h }, \ | ||
| 32 | { k10, KC_NO, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, k1h }, \ | ||
| 33 | { k20, KC_NO, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, KC_NO, KC_NO, KC_NO,KC_NO }, \ | ||
| 34 | { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, KC_NO, k3d, KC_NO, KC_NO, k3g, KC_NO }, \ | ||
| 35 | { k40, k41, KC_NO, k43, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4a, k4b, KC_NO, KC_NO,k4e, k4f, k4g, k4h } \ | ||
| 36 | } | ||
| 37 | |||
