summaryrefslogtreecommitdiffstats
path: root/keyboards/ai03/equinox/rev0
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/ai03/equinox/rev0
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/ai03/equinox/rev0')
-rw-r--r--keyboards/ai03/equinox/rev0/config.h5
-rw-r--r--keyboards/ai03/equinox/rev0/info.json5
2 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/ai03/equinox/rev0/config.h b/keyboards/ai03/equinox/rev0/config.h
index be599c1225..78c6fb8fcd 100644
--- a/keyboards/ai03/equinox/rev0/config.h
+++ b/keyboards/ai03/equinox/rev0/config.h
@@ -20,8 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Fix for prototype missing COL0, COL1, using backlight and RGB underglow I/O pins
#undef MATRIX_COL_PINS
#define MATRIX_COL_PINS { C4, B7, C6, C7, B6, B5, B4, B3, B2, B1, B0, D6 }
-
-// This directs backlight code to use a disconnected pin, so the firwmare still has
-// backlight code and VIA support even though it doesn't do anything.
-#undef BACKLIGHT_PIN
-#define BACKLIGHT_PIN D1 \ No newline at end of file
diff --git a/keyboards/ai03/equinox/rev0/info.json b/keyboards/ai03/equinox/rev0/info.json
index dd190d18ee..d76623777e 100644
--- a/keyboards/ai03/equinox/rev0/info.json
+++ b/keyboards/ai03/equinox/rev0/info.json
@@ -1,4 +1,9 @@
{
+ "backlight": {
+ "pin": "D1",
+ "levels": 5,
+ "breathing": true
+ },
"processor": "atmega32u2",
"bootloader": "atmel-dfu"
}