summaryrefslogtreecommitdiff
path: root/keyboards/linworks/whale75
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/linworks/whale75
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/linworks/whale75')
-rw-r--r--keyboards/linworks/whale75/config.h4
-rw-r--r--keyboards/linworks/whale75/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/linworks/whale75/config.h b/keyboards/linworks/whale75/config.h
index b2da9c0245..9508aeed57 100644
--- a/keyboards/linworks/whale75/config.h
+++ b/keyboards/linworks/whale75/config.h
@@ -24,13 +24,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Backlight */
-#define BACKLIGHT_PIN A10
-#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD1
#define BACKLIGHT_PWM_CHANNEL 3
#define BACKLIGHT_PAL_MODE 6
-#define BACKLIGHT_LEVELS 5
#define BACKLIGHT_PWM_OUTPUT_FREQUENCY 1000 // Increases backlight PWM freq if compiled with an unmerged PR. Does no harm without it.
/* Underglow */
diff --git a/keyboards/linworks/whale75/info.json b/keyboards/linworks/whale75/info.json
index 7de9e12764..24cb27f929 100644
--- a/keyboards/linworks/whale75/info.json
+++ b/keyboards/linworks/whale75/info.json
@@ -7,6 +7,11 @@
"pid": "0x0001",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "A10",
+ "levels": 5,
+ "breathing": true
+ },
"indicators": {
"caps_lock": "A9",
"num_lock": "A8",