summaryrefslogtreecommitdiff
path: root/keyboards/binepad/bnk9/config.h
diff options
context:
space:
mode:
authorVino Rodrigues <366673+vinorodrigues@users.noreply.github.com>2024-02-01 02:01:22 +1100
committerGitHub <noreply@github.com>2024-01-31 15:01:22 +0000
commitd8cda43d14d76d59a04c6ea1ed290395b9ca0968 (patch)
tree0770e2993bc71a5bbd8d2c14f3e9284d815b1e2d /keyboards/binepad/bnk9/config.h
parent777a6e0e58d0998e1b9d042e58c7cc95f4cee7e8 (diff)
[Keyboard] Add BINEPAD BNK9 (#22831)
Diffstat (limited to 'keyboards/binepad/bnk9/config.h')
-rw-r--r--keyboards/binepad/bnk9/config.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/binepad/bnk9/config.h b/keyboards/binepad/bnk9/config.h
new file mode 100644
index 0000000000..c774a0f2b0
--- /dev/null
+++ b/keyboards/binepad/bnk9/config.h
@@ -0,0 +1,12 @@
+// Copyright 2023 binepad (@binepad)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define ENCODER_DEFAULT_POS 0x3 // enable 1:1 resolution
+
+// Default PIO0 cases flickering in this board. Setting to PIO1 resolves this issue.
+#define WS2812_PIO_USE_PIO1
+
+// Timing for SK6812
+#define WS2812_T1H 650