diff options
author | Joel Challis <git@zvecr.com> | 2024-01-10 09:55:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 09:55:09 +0000 |
commit | 41948350e866b8881a82a384342686942fc92865 (patch) | |
tree | ed7377a2b269ec6c846a01249601e43ce679533c /keyboards/phase_studio | |
parent | 833abef115c8715a2bb56a871a557cc6e80ff48c (diff) |
Migrate RGB Matrix config to info.json - NOPQ (#22866)
Diffstat (limited to 'keyboards/phase_studio')
-rw-r--r-- | keyboards/phase_studio/titan65/hotswap/config.h | 22 | ||||
-rw-r--r-- | keyboards/phase_studio/titan65/hotswap/info.json | 3 |
2 files changed, 2 insertions, 23 deletions
diff --git a/keyboards/phase_studio/titan65/hotswap/config.h b/keyboards/phase_studio/titan65/hotswap/config.h deleted file mode 100644 index a4f9ce84d9..0000000000 --- a/keyboards/phase_studio/titan65/hotswap/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#define RGB_MATRIX_LED_COUNT 67 -#define RGB_MATRIX_KEYPRESSES // reacts to keypresses -// #define RGB_MATRIX_SLEEP // turn off effects when suspended -#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 diff --git a/keyboards/phase_studio/titan65/hotswap/info.json b/keyboards/phase_studio/titan65/hotswap/info.json index a455235168..2c1f3e2854 100644 --- a/keyboards/phase_studio/titan65/hotswap/info.json +++ b/keyboards/phase_studio/titan65/hotswap/info.json @@ -12,7 +12,8 @@ "pin": "E6" }, "rgb_matrix": { - "driver": "ws2812" + "driver": "ws2812", + "max_brightness": 150 }, "matrix_pins": { "cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "F0", "F1", "C7", "F4", "F5", "F6"], |