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/4pplet/eagle_viper_rep/rev_b | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/4pplet/eagle_viper_rep/rev_b')
-rw-r--r-- | keyboards/4pplet/eagle_viper_rep/rev_b/config.h | 4 | ||||
-rw-r--r-- | keyboards/4pplet/eagle_viper_rep/rev_b/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h index 5e1d995a68..eed3b708c4 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/config.h +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/config.h @@ -20,13 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13} #define DIODE_DIRECTION COL2ROW -/* In switch leds */ -#define BACKLIGHT_PIN A6 #define BACKLIGHT_PWM_DRIVER PWMD3 #define BACKLIGHT_PWM_CHANNEL 1 #define BACKLIGHT_PAL_MODE 1 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_BREATHING /* Underglow */ #define RGBLED_NUM 16 diff --git a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json index e6ac536f43..7ced2cf40c 100644 --- a/keyboards/4pplet/eagle_viper_rep/rev_b/info.json +++ b/keyboards/4pplet/eagle_viper_rep/rev_b/info.json @@ -8,6 +8,11 @@ "pid": "0x0010", "device_version": "0.0.2" }, + "backlight": { + "pin": "A6", + "levels": 6, + "breathing": true + }, "indicators": { "caps_lock": "B1", "num_lock": "B12", |