aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rart/rart75hs
diff options
context:
space:
mode:
authorRyan <[email protected]>2023-02-26 09:45:12 +1100
committerGitHub <[email protected]>2023-02-26 09:45:12 +1100
commit7e0299117b389b1c7fcdfa2f20891ba2287ea771 (patch)
tree00bb5bb7b3b73a9de365d1839ba7d41240d439f1 /keyboards/rart/rart75hs
parent314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (diff)
downloadqmk_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/rart/rart75hs')
-rw-r--r--keyboards/rart/rart75hs/config.h4
-rw-r--r--keyboards/rart/rart75hs/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/rart/rart75hs/config.h b/keyboards/rart/rart75hs/config.h
index dec3ab7cc2..f6817e71ce 100644
--- a/keyboards/rart/rart75hs/config.h
+++ b/keyboards/rart/rart75hs/config.h
@@ -31,10 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define ENCODERS_PAD_A { C1 }
-#define ENCODERS_PAD_B { C2 }
-#define ENCODER_RESOLUTION 4 //default/suggested
-
#define RGB_DI_PIN C0
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/rart/rart75hs/info.json b/keyboards/rart/rart75hs/info.json
index a7ac977112..27984a03d7 100644
--- a/keyboards/rart/rart75hs/info.json
+++ b/keyboards/rart/rart75hs/info.json
@@ -8,6 +8,11 @@
"pid": "0x5575",
"device_version": "0.0.3"
},
+ "encoder": {
+ "rotary": [
+ {"pin_a": "C1", "pin_b": "C2"}
+ ]
+ },
"indicators": {
"caps_lock": "D4",
"on_state": 0