aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ymdk/id75/rp2040
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ymdk/id75/rp2040')
-rw-r--r--keyboards/ymdk/id75/rp2040/config.h20
-rw-r--r--keyboards/ymdk/id75/rp2040/keyboard.json12
2 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/ymdk/id75/rp2040/config.h b/keyboards/ymdk/id75/rp2040/config.h
new file mode 100644
index 0000000000..b7a25de160
--- /dev/null
+++ b/keyboards/ymdk/id75/rp2040/config.h
@@ -0,0 +1,20 @@
+/* Copyright 2021 Mike Tsao
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
diff --git a/keyboards/ymdk/id75/rp2040/keyboard.json b/keyboards/ymdk/id75/rp2040/keyboard.json
new file mode 100644
index 0000000000..f153203cd0
--- /dev/null
+++ b/keyboards/ymdk/id75/rp2040/keyboard.json
@@ -0,0 +1,12 @@
+{
+ "bootloader": "rp2040",
+ "matrix_pins": {
+ "cols": ["GP26", "GP27", "GP4", "GP5", "GP1", "GP23", "GP22", "GP21", "GP28", "GP3", "GP7", "GP12", "GP13", "GP14", "GP15"],
+ "rows": ["GP8", "GP6", "GP19", "GP20", "GP18"]
+ },
+ "processor": "RP2040",
+ "ws2812": {
+ "driver": "vendor",
+ "pin": "GP2"
+ }
+}