summaryrefslogtreecommitdiff
path: root/keyboards/checkerboards/quark_squared/config.h
diff options
context:
space:
mode:
authornpspears <40127181+npspears@users.noreply.github.com>2022-07-02 09:01:08 -0500
committerGitHub <noreply@github.com>2022-07-03 00:01:08 +1000
commit60ab61386e786075f0606a5a8b308d82e842f996 (patch)
treecf4fc15f36ec2fed925a9e4422f898c884bf5c3f /keyboards/checkerboards/quark_squared/config.h
parent5ac71ef27acc3ed9178e3204078779bc9ff1047d (diff)
add rotary encoder support for Quark^2 (#17470)
Diffstat (limited to 'keyboards/checkerboards/quark_squared/config.h')
-rw-r--r--keyboards/checkerboards/quark_squared/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/checkerboards/quark_squared/config.h b/keyboards/checkerboards/quark_squared/config.h
index 32546097f1..7331f6803d 100644
--- a/keyboards/checkerboards/quark_squared/config.h
+++ b/keyboards/checkerboards/quark_squared/config.h
@@ -53,3 +53,7 @@
#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
#define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation
#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
+
+/* define rotary encoder pins */
+#define ENCODERS_PAD_A {B0}
+#define ENCODERS_PAD_B {D1}