diff options
author | Ryan <fauxpark@gmail.com> | 2023-07-03 07:40:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 22:40:13 +0100 |
commit | 023035f462fa307a30968247f33854ac361b232d (patch) | |
tree | 6d4c493f7867d1f28e4c2181da0153e832924a35 /keyboards/coban/pad3a | |
parent | 9ab16e62f75dc6228549ec0aba00ec0704bbc779 (diff) |
Move miscellaneous defines to data driven (#21382)
Diffstat (limited to 'keyboards/coban/pad3a')
-rw-r--r-- | keyboards/coban/pad3a/config.h | 3 | ||||
-rw-r--r-- | keyboards/coban/pad3a/info.json | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/coban/pad3a/config.h b/keyboards/coban/pad3a/config.h index 9483086fb4..5299ccb4f1 100644 --- a/keyboards/coban/pad3a/config.h +++ b/keyboards/coban/pad3a/config.h @@ -16,8 +16,5 @@ #pragma once -#define ENCODERS_PAD_A { GP5 } -#define ENCODERS_PAD_B { GP4 } - #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U diff --git a/keyboards/coban/pad3a/info.json b/keyboards/coban/pad3a/info.json index 3eadcb7f50..fc5c8ee71e 100644 --- a/keyboards/coban/pad3a/info.json +++ b/keyboards/coban/pad3a/info.json @@ -9,6 +9,11 @@ "vid": "0xCB3A", "device_version": "1.1.0" }, + "encoder": { + "rotary": [ + {"pin_a": "GP5", "pin_b": "GP4"} + ] + }, "matrix_pins": { "direct": [ ["GP8", "GP7", "GP6"] |