summaryrefslogtreecommitdiff
path: root/keyboards/handwired/jot50
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/handwired/jot50
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/handwired/jot50')
-rw-r--r--keyboards/handwired/jot50/config.h4
-rw-r--r--keyboards/handwired/jot50/info.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/handwired/jot50/config.h b/keyboards/handwired/jot50/config.h
index 7f9a8c5ab6..4cb70762fb 100644
--- a/keyboards/handwired/jot50/config.h
+++ b/keyboards/handwired/jot50/config.h
@@ -5,10 +5,6 @@
#define MATRIX_ROW_PINS { D7, E6, B4, B6, B2 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, D3, D2, D1, D0, D4, C6 }
-/* leds */
-#define BACKLIGHT_PIN B5
-#define BACKLIGHT_BREATHING
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/handwired/jot50/info.json b/keyboards/handwired/jot50/info.json
index db08eef195..1bcf932946 100644
--- a/keyboards/handwired/jot50/info.json
+++ b/keyboards/handwired/jot50/info.json
@@ -8,6 +8,10 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B5",
+ "breathing": true
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x12"],