summaryrefslogtreecommitdiff
path: root/keyboards/duck
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-21 12:05:40 +1100
committerGitHub <noreply@github.com>2023-02-21 12:05:40 +1100
commit9c0ce80d7e7d266cfd2d8fb0d92889db06ea95ff (patch)
tree9882c99ab628ff49e60eb43b42ec3bf6ebefe8bd /keyboards/duck
parent4b69225c225b76f6631977912c5197c834206b27 (diff)
Move backlight config to data driven, part 1 (#19887)
Diffstat (limited to 'keyboards/duck')
-rw-r--r--keyboards/duck/orion/v3/config.h3
-rw-r--r--keyboards/duck/orion/v3/info.json3
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/duck/orion/v3/config.h b/keyboards/duck/orion/v3/config.h
index 908bad5bde..6dde204a3b 100644
--- a/keyboards/duck/orion/v3/config.h
+++ b/keyboards/duck/orion/v3/config.h
@@ -24,9 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#undef BACKLIGHT_PIN
-#define BACKLIGHT_PINS { B1, B2, B3, E6 }
-#define BACKLIGHT_LED_COUNT 4
#define BACKLIGHT_LEVELS 10
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/duck/orion/v3/info.json b/keyboards/duck/orion/v3/info.json
index f96e5b9ca5..7c4c34281c 100644
--- a/keyboards/duck/orion/v3/info.json
+++ b/keyboards/duck/orion/v3/info.json
@@ -8,6 +8,9 @@
"pid": "0x4F52",
"device_version": "0.0.2"
},
+ "backlight": {
+ "pins": ["B1", "B2", "B3", "E6"]
+ },
"bootmagic": {
"matrix": [4, 10]
},