aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorVino Rodrigues <[email protected]>2024-05-13 19:33:25 +1000
committerGitHub <[email protected]>2024-05-13 10:33:25 +0100
commit8c05254a68f291a374eef3ac4174914a196c726a (patch)
treedeed310061f7130fe406f4a106c9c7c371350268 /keyboards
parentd09ea04fa1b42b362a81218785ff41d3004df081 (diff)
downloadqmk_firmware-8c05254a68f291a374eef3ac4174914a196c726a.tar.gz
qmk_firmware-8c05254a68f291a374eef3ac4174914a196c726a.zip
[Bug][Keyboard] Fix encoder resolution issue with Binepad BNK9 (#23707)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/binepad/bnk9/config.h2
-rw-r--r--keyboards/binepad/bnk9/info.json4
2 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/binepad/bnk9/config.h b/keyboards/binepad/bnk9/config.h
index c774a0f2b0..1d553e3fea 100644
--- a/keyboards/binepad/bnk9/config.h
+++ b/keyboards/binepad/bnk9/config.h
@@ -3,8 +3,6 @@
#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
diff --git a/keyboards/binepad/bnk9/info.json b/keyboards/binepad/bnk9/info.json
index 1f3b7cb7b0..89e25f9d06 100644
--- a/keyboards/binepad/bnk9/info.json
+++ b/keyboards/binepad/bnk9/info.json
@@ -8,7 +8,7 @@
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
- {"pin_a": "GP13", "pin_b": "GP14"}
+ {"pin_a": "GP13", "pin_b": "GP14", "resolution": 2}
]
},
"features": {
@@ -83,4 +83,4 @@
]
}
}
-} \ No newline at end of file
+}