summaryrefslogtreecommitdiff
path: root/keyboards/geonworks/frogmini/fms
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/geonworks/frogmini/fms
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/geonworks/frogmini/fms')
-rw-r--r--keyboards/geonworks/frogmini/fms/config.h2
-rw-r--r--keyboards/geonworks/frogmini/fms/info.json4
-rw-r--r--keyboards/geonworks/frogmini/fms/rules.mk1
3 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/geonworks/frogmini/fms/config.h b/keyboards/geonworks/frogmini/fms/config.h
index 04850ba9e8..ad9c202933 100644
--- a/keyboards/geonworks/frogmini/fms/config.h
+++ b/keyboards/geonworks/frogmini/fms/config.h
@@ -25,11 +25,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN A10
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 20
#define I2C_DRIVER I2CD1
#define I2C_SCL_PIN B6
diff --git a/keyboards/geonworks/frogmini/fms/info.json b/keyboards/geonworks/frogmini/fms/info.json
index 1442ceb8b4..9e51f9226f 100644
--- a/keyboards/geonworks/frogmini/fms/info.json
+++ b/keyboards/geonworks/frogmini/fms/info.json
@@ -8,6 +8,10 @@
"pid": "0x2D33",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A10",
+ "levels": 20
+ },
"processor": "STM32F401",
"bootloader": "stm32-dfu",
"layouts": {
diff --git a/keyboards/geonworks/frogmini/fms/rules.mk b/keyboards/geonworks/frogmini/fms/rules.mk
index 82ca995e25..d847becc1a 100644
--- a/keyboards/geonworks/frogmini/fms/rules.mk
+++ b/keyboards/geonworks/frogmini/fms/rules.mk
@@ -13,7 +13,6 @@ LTO_ENABLE = no
ENCODER_ENABLE = no
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = pwm
EEPROM_DRIVER = i2c