diff options
| author | yynmt <45400583+yynmt@users.noreply.github.com> | 2021-04-21 02:21:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-20 10:21:39 -0700 |
| commit | 5f670fbdc417a3db0163d233b6f3a0d508c0f464 (patch) | |
| tree | aa3e421c628191368067b6f99e9956bc275c34be | |
| parent | bd07120d3303ee38498e01bbef9052d4d50f77f5 (diff) | |
| download | qmk_firmware-5f670fbdc417a3db0163d233b6f3a0d508c0f464.tar.gz qmk_firmware-5f670fbdc417a3db0163d233b6f3a0d508c0f464.zip | |
[Keyboard] Add Acperience12 macropad (#12573)
Co-authored-by: yynmt <yynmt@yynmt.com>
| -rw-r--r-- | keyboards/yynmt/acperience12/acperience12.c | 17 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/acperience12.h | 23 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/config.h | 19 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/info.json | 19 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/keymaps/default/readme.md | 25 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/keymaps/via/config.h | 19 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/keymaps/via/keymap.c | 116 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/readme.md | 21 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/rev1/config.h | 50 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/rev1/readme.md | 21 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/rev1/rev1.c | 17 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/rev1/rev1.h | 37 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/rev1/rules.mk | 5 | ||||
| -rw-r--r-- | keyboards/yynmt/acperience12/rules.mk | 18 |
16 files changed, 442 insertions, 0 deletions
diff --git a/keyboards/yynmt/acperience12/acperience12.c b/keyboards/yynmt/acperience12/acperience12.c new file mode 100644 index 000000000..783f87b09 --- /dev/null +++ b/keyboards/yynmt/acperience12/acperience12.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | #include "acperience12.h" | ||
diff --git a/keyboards/yynmt/acperience12/acperience12.h b/keyboards/yynmt/acperience12/acperience12.h new file mode 100644 index 000000000..62102249e --- /dev/null +++ b/keyboards/yynmt/acperience12/acperience12.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | #ifdef KEYBOARD_yynmt_acperience12_rev1 | ||
| 20 | # include "rev1.h" | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #include "quantum.h" | ||
diff --git a/keyboards/yynmt/acperience12/config.h b/keyboards/yynmt/acperience12/config.h new file mode 100644 index 000000000..b725cd245 --- /dev/null +++ b/keyboards/yynmt/acperience12/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 "config_common.h" | ||
diff --git a/keyboards/yynmt/acperience12/info.json b/keyboards/yynmt/acperience12/info.json new file mode 100644 index 000000000..034ed8248 --- /dev/null +++ b/keyboards/yynmt/acperience12/info.json | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Acperience12", | ||
| 3 | "url": "http://yynmt.com", | ||
| 4 | "maintainer": "yynmt", | ||
| 5 | "width": 2, | ||
| 6 | "height": 6, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"x":0, "y":0}, {"x":1, "y":0}, | ||
| 11 | {"x":0, "y":1}, {"x":1, "y":1}, | ||
| 12 | {"x":0, "y":2}, {"x":1, "y":2}, | ||
| 13 | {"x":0, "y":3}, {"x":1, "y":3}, | ||
| 14 | {"x":0, "y":4}, {"x":1, "y":4}, | ||
| 15 | {"x":0, "y":5}, {"x":1, "y":5} | ||
| 16 | ] | ||
| 17 | } | ||
| 18 | } | ||
| 19 | } | ||
diff --git a/keyboards/yynmt/acperience12/keymaps/default/keymap.c b/keyboards/yynmt/acperience12/keymaps/default/keymap.c new file mode 100644 index 000000000..c806ef525 --- /dev/null +++ b/keyboards/yynmt/acperience12/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines names for use in layer keycodes and the keymap | ||
| 20 | enum layer_names { | ||
| 21 | _BASE | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | /* Base */ | ||
| 26 | [_BASE] = LAYOUT( | ||
| 27 | KC_1, KC_2, | ||
| 28 | KC_3, KC_4, | ||
| 29 | KC_5, KC_6, | ||
| 30 | KC_7, KC_8, | ||
| 31 | KC_9, KC_A, | ||
| 32 | KC_B, KC_C | ||
| 33 | ), | ||
| 34 | }; | ||
diff --git a/keyboards/yynmt/acperience12/keymaps/default/readme.md b/keyboards/yynmt/acperience12/keymaps/default/readme.md new file mode 100644 index 000000000..d820d9dbc --- /dev/null +++ b/keyboards/yynmt/acperience12/keymaps/default/readme.md | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # The default keymap for Acperience12 | ||
| 2 | |||
| 3 | This keymap is for operation verification. | ||
| 4 | |||
| 5 | ``` | ||
| 6 | ,-------------. | ||
| 7 | | 1 | 2 | | ||
| 8 | | | | | ||
| 9 | |------+------| | ||
| 10 | | 4 | 3 | | ||
| 11 | | | | | ||
| 12 | |------+------| | ||
| 13 | | 5 | 6 | | ||
| 14 | | | | | ||
| 15 | |------+------| | ||
| 16 | | 7 | 8 | | ||
| 17 | | | | | ||
| 18 | |------+------| | ||
| 19 | | 9 | a | | ||
| 20 | | | | | ||
| 21 | |------+------| | ||
| 22 | | b | c | | ||
| 23 | | | | | ||
| 24 | `-------------' | ||
| 25 | ``` | ||
diff --git a/keyboards/yynmt/acperience12/keymaps/via/config.h b/keyboards/yynmt/acperience12/keymaps/via/config.h new file mode 100644 index 000000000..375489542 --- /dev/null +++ b/keyboards/yynmt/acperience12/keymaps/via/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | #define DYNAMIC_KEYMAP_LAYER_COUNT 12 | ||
diff --git a/keyboards/yynmt/acperience12/keymaps/via/keymap.c b/keyboards/yynmt/acperience12/keymaps/via/keymap.c new file mode 100644 index 000000000..01230a0e4 --- /dev/null +++ b/keyboards/yynmt/acperience12/keymaps/via/keymap.c | |||
| @@ -0,0 +1,116 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT( | ||
| 21 | KC_1, KC_2, | ||
| 22 | KC_3, KC_4, | ||
| 23 | KC_5, KC_6, | ||
| 24 | KC_7, KC_8, | ||
| 25 | KC_9, KC_A, | ||
| 26 | KC_B, KC_C | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT( | ||
| 29 | KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, | ||
| 34 | KC_TRNS, KC_TRNS | ||
| 35 | ), | ||
| 36 | [2] = LAYOUT( | ||
| 37 | KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_TRNS, | ||
| 40 | KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, | ||
| 42 | KC_TRNS, KC_TRNS | ||
| 43 | ), | ||
| 44 | [3] = LAYOUT( | ||
| 45 | KC_TRNS, KC_TRNS, | ||
| 46 | KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, KC_TRNS, | ||
| 48 | KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, | ||
| 50 | KC_TRNS, KC_TRNS | ||
| 51 | ), | ||
| 52 | [4] = LAYOUT( | ||
| 53 | KC_TRNS, KC_TRNS, | ||
| 54 | KC_TRNS, KC_TRNS, | ||
| 55 | KC_TRNS, KC_TRNS, | ||
| 56 | KC_TRNS, KC_TRNS, | ||
| 57 | KC_TRNS, KC_TRNS, | ||
| 58 | KC_TRNS, KC_TRNS | ||
| 59 | ), | ||
| 60 | [5] = LAYOUT( | ||
| 61 | KC_TRNS, KC_TRNS, | ||
| 62 | KC_TRNS, KC_TRNS, | ||
| 63 | KC_TRNS, KC_TRNS, | ||
| 64 | KC_TRNS, KC_TRNS, | ||
| 65 | KC_TRNS, KC_TRNS, | ||
| 66 | KC_TRNS, KC_TRNS | ||
| 67 | ), | ||
| 68 | [6] = LAYOUT( | ||
| 69 | KC_TRNS, KC_TRNS, | ||
| 70 | KC_TRNS, KC_TRNS, | ||
| 71 | KC_TRNS, KC_TRNS, | ||
| 72 | KC_TRNS, KC_TRNS, | ||
| 73 | KC_TRNS, KC_TRNS, | ||
| 74 | KC_TRNS, KC_TRNS | ||
| 75 | ), | ||
| 76 | [7] = LAYOUT( | ||
| 77 | KC_TRNS, KC_TRNS, | ||
| 78 | KC_TRNS, KC_TRNS, | ||
| 79 | KC_TRNS, KC_TRNS, | ||
| 80 | KC_TRNS, KC_TRNS, | ||
| 81 | KC_TRNS, KC_TRNS, | ||
| 82 | KC_TRNS, KC_TRNS | ||
| 83 | ), | ||
| 84 | [8] = LAYOUT( | ||
| 85 | KC_TRNS, KC_TRNS, | ||
| 86 | KC_TRNS, KC_TRNS, | ||
| 87 | KC_TRNS, KC_TRNS, | ||
| 88 | KC_TRNS, KC_TRNS, | ||
| 89 | KC_TRNS, KC_TRNS, | ||
| 90 | KC_TRNS, KC_TRNS | ||
| 91 | ), | ||
| 92 | [9] = LAYOUT( | ||
| 93 | KC_TRNS, KC_TRNS, | ||
| 94 | KC_TRNS, KC_TRNS, | ||
| 95 | KC_TRNS, KC_TRNS, | ||
| 96 | KC_TRNS, KC_TRNS, | ||
| 97 | KC_TRNS, KC_TRNS, | ||
| 98 | KC_TRNS, KC_TRNS | ||
| 99 | ), | ||
| 100 | [10] = LAYOUT( | ||
| 101 | KC_TRNS, KC_TRNS, | ||
| 102 | KC_TRNS, KC_TRNS, | ||
| 103 | KC_TRNS, KC_TRNS, | ||
| 104 | KC_TRNS, KC_TRNS, | ||
| 105 | KC_TRNS, KC_TRNS, | ||
| 106 | KC_TRNS, KC_TRNS | ||
| 107 | ), | ||
| 108 | [11] = LAYOUT( | ||
| 109 | KC_TRNS, KC_TRNS, | ||
| 110 | KC_TRNS, KC_TRNS, | ||
| 111 | KC_TRNS, KC_TRNS, | ||
| 112 | KC_TRNS, KC_TRNS, | ||
| 113 | KC_TRNS, KC_TRNS, | ||
| 114 | KC_TRNS, KC_TRNS | ||
| 115 | ) | ||
| 116 | }; | ||
diff --git a/keyboards/yynmt/acperience12/keymaps/via/rules.mk b/keyboards/yynmt/acperience12/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/yynmt/acperience12/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/yynmt/acperience12/readme.md b/keyboards/yynmt/acperience12/readme.md new file mode 100644 index 000000000..b08369ff0 --- /dev/null +++ b/keyboards/yynmt/acperience12/readme.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # Acperience12 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Acperience12 is 12 keys macropad. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [yynmt](https://github.com/yynmt) | ||
| 8 | * Hardware Supported: The A12 PCB | ||
| 9 | * Hardware Availability: [This repository](https://github.com/yynmt/Acperience12) has the plate files and other files. | ||
| 10 | |||
| 11 | Enter the bootloader: Press the reset button. The reset button is located on the top side of the PCB between SW9,10 and SW11,12. Insert a long thin stick (e.g. SIM eject tool or paper clip) into the hole on the top plate. | ||
| 12 | |||
| 13 | Make example for this macropad (after setting up your build environment): | ||
| 14 | |||
| 15 | make yynmt/acperience12:default | ||
| 16 | |||
| 17 | Flashing example for this macropad: | ||
| 18 | |||
| 19 | make yynmt/acperience12:default:flash | ||
| 20 | |||
| 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). | ||
diff --git a/keyboards/yynmt/acperience12/rev1/config.h b/keyboards/yynmt/acperience12/rev1/config.h new file mode 100644 index 000000000..7281f9bf7 --- /dev/null +++ b/keyboards/yynmt/acperience12/rev1/config.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | /* USB Device descriptor parameter */ | ||
| 20 | #define VENDOR_ID 0x04D8 //Sublicense from Microchip Technology | ||
| 21 | #define PRODUCT_ID 0xEA51 //Sublicense from Microchip Technology | ||
| 22 | #define DEVICE_VER 0x0001 | ||
| 23 | #define MANUFACTURER yynmt | ||
| 24 | #define PRODUCT Acperience12 | ||
| 25 | |||
| 26 | /* key matrix size */ | ||
| 27 | #define MATRIX_ROWS 6 | ||
| 28 | #define MATRIX_COLS 2 | ||
| 29 | |||
| 30 | #define DIRECT_PINS { { B5, D0 }, { B4, D1 }, { B3, D2 }, { B2, D3 }, { B1, D4 }, { B0, D5 } } | ||
| 31 | |||
| 32 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 33 | #define DEBOUNCE 5 | ||
| 34 | |||
| 35 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 36 | //#define MATRIX_HAS_GHOST | ||
| 37 | |||
| 38 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 39 | #define LOCKING_SUPPORT_ENABLE | ||
| 40 | /* Locking resynchronize hack */ | ||
| 41 | #define LOCKING_RESYNC_ENABLE | ||
| 42 | |||
| 43 | /* disable action features */ | ||
| 44 | //#define NO_ACTION_LAYER | ||
| 45 | //#define NO_ACTION_TAPPING | ||
| 46 | //#define NO_ACTION_ONESHOT | ||
| 47 | |||
| 48 | /* disable these deprecated features by default */ | ||
| 49 | #define NO_ACTION_MACRO | ||
| 50 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/yynmt/acperience12/rev1/readme.md b/keyboards/yynmt/acperience12/rev1/readme.md new file mode 100644 index 000000000..b08369ff0 --- /dev/null +++ b/keyboards/yynmt/acperience12/rev1/readme.md | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # Acperience12 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | Acperience12 is 12 keys macropad. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [yynmt](https://github.com/yynmt) | ||
| 8 | * Hardware Supported: The A12 PCB | ||
| 9 | * Hardware Availability: [This repository](https://github.com/yynmt/Acperience12) has the plate files and other files. | ||
| 10 | |||
| 11 | Enter the bootloader: Press the reset button. The reset button is located on the top side of the PCB between SW9,10 and SW11,12. Insert a long thin stick (e.g. SIM eject tool or paper clip) into the hole on the top plate. | ||
| 12 | |||
| 13 | Make example for this macropad (after setting up your build environment): | ||
| 14 | |||
| 15 | make yynmt/acperience12:default | ||
| 16 | |||
| 17 | Flashing example for this macropad: | ||
| 18 | |||
| 19 | make yynmt/acperience12:default:flash | ||
| 20 | |||
| 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). | ||
diff --git a/keyboards/yynmt/acperience12/rev1/rev1.c b/keyboards/yynmt/acperience12/rev1/rev1.c new file mode 100644 index 000000000..f58e4a2b1 --- /dev/null +++ b/keyboards/yynmt/acperience12/rev1/rev1.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 | #include "rev1.h" | ||
diff --git a/keyboards/yynmt/acperience12/rev1/rev1.h b/keyboards/yynmt/acperience12/rev1/rev1.h new file mode 100644 index 000000000..78c6c0c8c --- /dev/null +++ b/keyboards/yynmt/acperience12/rev1/rev1.h | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /* Copyright 2021 yynmt | ||
| 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 "acperience12.h" | ||
| 20 | |||
| 21 | |||
| 22 | #define LAYOUT( \ | ||
| 23 | K00, K01, \ | ||
| 24 | K02, K03, \ | ||
| 25 | K04, K05, \ | ||
| 26 | K06, K07, \ | ||
| 27 | K08, K09, \ | ||
| 28 | K10, K11 \ | ||
| 29 | ) \ | ||
| 30 | { \ | ||
| 31 | { K00, K01 }, \ | ||
| 32 | { K02, K03 }, \ | ||
| 33 | { K04, K05 }, \ | ||
| 34 | { K06, K07 }, \ | ||
| 35 | { K08, K09 }, \ | ||
| 36 | { K10, K11 }, \ | ||
| 37 | } | ||
diff --git a/keyboards/yynmt/acperience12/rev1/rules.mk b/keyboards/yynmt/acperience12/rev1/rules.mk new file mode 100644 index 000000000..6ab81f6b1 --- /dev/null +++ b/keyboards/yynmt/acperience12/rev1/rules.mk | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u2 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
diff --git a/keyboards/yynmt/acperience12/rules.mk b/keyboards/yynmt/acperience12/rules.mk new file mode 100644 index 000000000..bb8f6496c --- /dev/null +++ b/keyboards/yynmt/acperience12/rules.mk | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | # Build Options | ||
| 2 | # change yes to no to disable | ||
| 3 | # | ||
| 4 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 5 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 6 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 7 | CONSOLE_ENABLE = no # Console for debug | ||
| 8 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 9 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 10 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 11 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 12 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 13 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 14 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 15 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 16 | AUDIO_ENABLE = no # Audio output | ||
| 17 | |||
| 18 | DEFAULT_FOLDER = yynmt/acperience12/rev1 | ||
