summaryrefslogtreecommitdiff
path: root/keyboards/projectcain/vault35/config.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-03-01 01:52:01 +0000
committerGitHub <noreply@github.com>2022-03-01 01:52:01 +0000
commitc9d9e70ac7ae6170728cbc8ac91c9c3269afe993 (patch)
treeaa4862db9201435b1cb15b99e901def0c11e3b20 /keyboards/projectcain/vault35/config.h
parentf293e6b4da5a3eca36e6a6da7c1bcbf3ecd536e8 (diff)
Move projectcain encoder logic to keyboard level (#16479)
Diffstat (limited to 'keyboards/projectcain/vault35/config.h')
-rw-r--r--keyboards/projectcain/vault35/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/projectcain/vault35/config.h b/keyboards/projectcain/vault35/config.h
index 5eccd57172..d88863e5b5 100644
--- a/keyboards/projectcain/vault35/config.h
+++ b/keyboards/projectcain/vault35/config.h
@@ -44,6 +44,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
+#define ENCODERS_PAD_A { D6 }
+#define ENCODERS_PAD_B { D7 }
+#define ENCODER_RESOLUTION 2
+
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/