summaryrefslogtreecommitdiff
path: root/keyboards/wings42/rev2/keymaps/via/config.h
diff options
context:
space:
mode:
authoryfuku <30647434+yfuku@users.noreply.github.com>2021-12-27 12:05:31 +0900
committerGitHub <noreply@github.com>2021-12-27 14:05:31 +1100
commit55c75da524df1ee00ccbd5b578fb61733906fedf (patch)
treed410447e71ddc660edc5c5260c6d7e628b5ad1bc /keyboards/wings42/rev2/keymaps/via/config.h
parentdb358d171d24eaa10286cbb72916302dd8e22d00 (diff)
Add wings42 rev2 (#13702)
* add rev2 * add encoder settings * add license header
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