summaryrefslogtreecommitdiffstats
path: root/keyboards/wings42/rev2/keymaps/via/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-12-27 03:06:43 +0000
committerQMK Bot <hello@qmk.fm>2021-12-27 03:06:43 +0000
commita1dd4f3c0fe64850a27d1bed38059a5a6c2438ac (patch)
tree2924dcc230103fa09f0011e4885560b2ae05cdbc /keyboards/wings42/rev2/keymaps/via/config.h
parentc93935f243dc7170dadfc2daf95e055fec56df6d (diff)
parent76f94a4275ca1d6417c85c9ad173ae61247f0d19 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/wings42/rev2/keymaps/via/config.h')
-rw-r--r--keyboards/wings42/rev2/keymaps/via/config.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/wings42/rev2/keymaps/via/config.h b/keyboards/wings42/rev2/keymaps/via/config.h
new file mode 100644
index 0000000000..3e0c8d146a
--- /dev/null
+++ b/keyboards/wings42/rev2/keymaps/via/config.h
@@ -0,0 +1,20 @@
+/* Copyright 2021 yfuku
+ *
+ * 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 ENCODERS_PAD_A { B5, B6 }
+#define ENCODERS_PAD_B { B4, B2 }
+#define ENCODER_RESOLUTION 4