summaryrefslogtreecommitdiffstats
path: root/keyboards/macrocat/config.h
diff options
context:
space:
mode:
author李董睿煊 <dongruixuan@hotmail.com>2022-07-04 02:07:31 +0800
committerGitHub <noreply@github.com>2022-07-03 19:07:31 +0100
commit168a63172010924a7a00dc1bc9e6a3c510e8ce5a (patch)
treecbc0ad9b0f313e3daadcf081b0bb5e387d09ce69 /keyboards/macrocat/config.h
parentd87d537b50f9e1843e097334ac75e89a067c1525 (diff)
Add support for MacroCat Keyboard (#17480)
Diffstat (limited to 'keyboards/macrocat/config.h')
-rw-r--r--keyboards/macrocat/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/macrocat/config.h b/keyboards/macrocat/config.h
new file mode 100644
index 0000000000..851cfe7427
--- /dev/null
+++ b/keyboards/macrocat/config.h
@@ -0,0 +1,11 @@
+// Copyright 2022 catmunch (@catmunch)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+/* rotary encoder */
+#define ENCODERS_PAD_A { D3 }
+#define ENCODERS_PAD_B { D2 }
+#define ENCODER_SWITCH B7