aboutsummaryrefslogtreecommitdiff
path: root/keyboards/yynmt/acperience12/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/yynmt/acperience12/rev1')
-rw-r--r--keyboards/yynmt/acperience12/rev1/config.h50
-rw-r--r--keyboards/yynmt/acperience12/rev1/readme.md21
-rw-r--r--keyboards/yynmt/acperience12/rev1/rev1.c17
-rw-r--r--keyboards/yynmt/acperience12/rev1/rev1.h37
-rw-r--r--keyboards/yynmt/acperience12/rev1/rules.mk5
5 files changed, 130 insertions, 0 deletions
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![Acperience12](https://raw.githubusercontent.com/yynmt/Acperience12/main/images/main_image.jpg)
4
5Acperience12 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
11Enter 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
13Make example for this macropad (after setting up your build environment):
14
15 make yynmt/acperience12:default
16
17Flashing example for this macropad:
18
19 make yynmt/acperience12:default:flash
20
21See 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
2MCU = atmega32u2
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu