diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/mode | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/mode')
-rw-r--r-- | keyboards/mode/m75s/config.h | 3 | ||||
-rw-r--r-- | keyboards/mode/m75s/info.json | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h index 09e9b7bc73..6c90b66be5 100644 --- a/keyboards/mode/m75s/config.h +++ b/keyboards/mode/m75s/config.h @@ -28,9 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -#define BACKLIGHT_PIN C6 -#define BACKLIGHT_LEVELS 20 -#define BACKLIGHT_CAPS_LOCK #define BACKLIGHT_DEFAULT_LEVEL 20 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 diff --git a/keyboards/mode/m75s/info.json b/keyboards/mode/m75s/info.json index 58768a1063..f046a8dffd 100644 --- a/keyboards/mode/m75s/info.json +++ b/keyboards/mode/m75s/info.json @@ -8,6 +8,11 @@ "pid": "0x7583", "device_version": "0.0.1" }, + "backlight": { + "pin": "C6", + "levels": 20, + "as_caps_lock": true + }, "processor": "STM32F401", "bootloader": "stm32-dfu", "layouts": { |