summaryrefslogtreecommitdiff
path: root/keyboards/ydkb/ydpm40/config.h
diff options
context:
space:
mode:
authorxofyarg <xofyarg@users.noreply.github.com>2022-12-12 13:16:26 -0800
committerGitHub <noreply@github.com>2022-12-12 13:16:26 -0800
commit25790fc886a189f5f200a1ac6f93d088c417249a (patch)
treebe4f040b82a2a1bb72af9c7964d69431533f9446 /keyboards/ydkb/ydpm40/config.h
parentb8532d100dbd63f48f65e8c1d8f57b083e9107cd (diff)
[Keyboard] add ydpm40 keyboard (#19294)
Diffstat (limited to 'keyboards/ydkb/ydpm40/config.h')
-rw-r--r--keyboards/ydkb/ydpm40/config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/ydkb/ydpm40/config.h b/keyboards/ydkb/ydpm40/config.h
new file mode 100644
index 0000000000..f475b2967a
--- /dev/null
+++ b/keyboards/ydkb/ydpm40/config.h
@@ -0,0 +1,25 @@
+// Copyright 2022 anb (@anb)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+
+#define USB_CFG_IOPORTNAME D
+#define USB_CFG_DMINUS_BIT 2
+#define USB_CFG_DPLUS_BIT 3
+#define USB_COUNT_SOF 0