summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/blackpill_f411/config.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-05-15 04:24:35 -0700
committerGitHub <noreply@github.com>2022-05-15 21:24:35 +1000
commitf090881aebbd7af74294b53fabdf55a35004f190 (patch)
tree53d786c3be9bf1b2823bdee7bf6a55686d8b1461 /keyboards/handwired/onekey/blackpill_f411/config.h
parent4d107feca9621ee3f342507136b04f176e8f2320 (diff)
[Feature] Add support for multiple switchs/solenoids to Haptic Feedback engine (#15657)
Diffstat (limited to 'keyboards/handwired/onekey/blackpill_f411/config.h')
-rw-r--r--keyboards/handwired/onekey/blackpill_f411/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/blackpill_f411/config.h b/keyboards/handwired/onekey/blackpill_f411/config.h
index 16e8f27924..3797217153 100644
--- a/keyboards/handwired/onekey/blackpill_f411/config.h
+++ b/keyboards/handwired/onekey/blackpill_f411/config.h
@@ -31,3 +31,7 @@
#define RGB_DI_PIN A1
#define ADC_PIN A0
+
+#define SOLENOID_PIN B12
+#define SOLENOID_PINS { B12, B13, B14, B15 }
+#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }