diff options
author | Ryan <[email protected]> | 2023-02-26 09:45:12 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-26 09:45:12 +1100 |
commit | 7e0299117b389b1c7fcdfa2f20891ba2287ea771 (patch) | |
tree | 00bb5bb7b3b73a9de365d1839ba7d41240d439f1 /keyboards/mechwild/murphpad | |
parent | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (diff) | |
download | qmk_firmware-7e0299117b389b1c7fcdfa2f20891ba2287ea771.tar.gz qmk_firmware-7e0299117b389b1c7fcdfa2f20891ba2287ea771.zip |
Move encoder config to data driven (#19923)
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/mechwild/murphpad')
-rw-r--r-- | keyboards/mechwild/murphpad/config.h | 6 | ||||
-rw-r--r-- | keyboards/mechwild/murphpad/info.json | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/mechwild/murphpad/config.h b/keyboards/mechwild/murphpad/config.h index b190f9af86..d3158c3306 100644 --- a/keyboards/mechwild/murphpad/config.h +++ b/keyboards/mechwild/murphpad/config.h @@ -22,12 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { F5, B2, B3, B1, F7, F6 } #define MATRIX_COL_PINS { B5, D7, C6, D4, B6 } -/* Encoder pins */ -#define ENCODERS_PAD_A { E6, D2 } -#define ENCODERS_PAD_B { B4, D3 } - -/* Encoder resolution */ -#define ENCODER_RESOLUTION 4 #define TAP_CODE_DELAY 10 /* COL2ROW, ROW2COL */ diff --git a/keyboards/mechwild/murphpad/info.json b/keyboards/mechwild/murphpad/info.json index 57a3c8fa8d..92af56f0dd 100644 --- a/keyboards/mechwild/murphpad/info.json +++ b/keyboards/mechwild/murphpad/info.json @@ -8,6 +8,12 @@ "pid": "0x1705", "device_version": "3.0.1" }, + "encoder": { + "rotary": [ + {"pin_a": "E6", "pin_b": "B4"}, + {"pin_a": "D2", "pin_b": "D3"} + ] + }, "bootmagic": { "matrix": [0, 1] }, |