summaryrefslogtreecommitdiff
path: root/keyboards/ft
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/ft
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/ft')
-rw-r--r--keyboards/ft/mars65/config.h2
-rw-r--r--keyboards/ft/mars65/info.json3
-rw-r--r--keyboards/ft/mars80/config.h2
-rw-r--r--keyboards/ft/mars80/info.json3
4 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/ft/mars65/config.h b/keyboards/ft/mars65/config.h
index 916b7bbbf7..53f33428df 100644
--- a/keyboards/ft/mars65/config.h
+++ b/keyboards/ft/mars65/config.h
@@ -19,8 +19,6 @@
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN B7
-
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN
#define RGBLED_NUM 24
diff --git a/keyboards/ft/mars65/info.json b/keyboards/ft/mars65/info.json
index c8ce0864cc..1d1dd840d9 100644
--- a/keyboards/ft/mars65/info.json
+++ b/keyboards/ft/mars65/info.json
@@ -8,6 +8,9 @@
"pid": "0x422F",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["65_ansi_blocker", "65_ansi_blocker_split_bs", "65_iso_blocker", "65_iso_blocker_split_bs"],
diff --git a/keyboards/ft/mars80/config.h b/keyboards/ft/mars80/config.h
index 3b84e918ce..727718e396 100644
--- a/keyboards/ft/mars80/config.h
+++ b/keyboards/ft/mars80/config.h
@@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/ft/mars80/info.json b/keyboards/ft/mars80/info.json
index 1ad63c0aaa..ff451d8bcf 100644
--- a/keyboards/ft/mars80/info.json
+++ b/keyboards/ft/mars80/info.json
@@ -8,6 +8,9 @@
"pid": "0x422D",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"