diff options
Diffstat (limited to 'keyboards/rart/rartlice')
-rw-r--r-- | keyboards/rart/rartlice/config.h | 5 | ||||
-rw-r--r-- | keyboards/rart/rartlice/info.json | 9 | ||||
-rw-r--r-- | keyboards/rart/rartlice/rartlice.c | 16 | ||||
-rw-r--r-- | keyboards/rart/rartlice/rules.mk | 1 |
4 files changed, 9 insertions, 22 deletions
diff --git a/keyboards/rart/rartlice/config.h b/keyboards/rart/rartlice/config.h index b6c3af7f7f..b242e63013 100644 --- a/keyboards/rart/rartlice/config.h +++ b/keyboards/rart/rartlice/config.h @@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#define MATRIX_COL_PINS { B12, B8, B5, B4, B3, B11, B10, B1, B0, A7, A6, A5, A3, A4, A1 } -#define MATRIX_ROW_PINS { B13, A15, B9, A2, A0 } -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ @@ -36,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGB_DI_PIN B15 #define RGBLED_NUM 11 #define WS2812_SPI SPID2 diff --git a/keyboards/rart/rartlice/info.json b/keyboards/rart/rartlice/info.json index dccdcf2132..c8b2497285 100644 --- a/keyboards/rart/rartlice/info.json +++ b/keyboards/rart/rartlice/info.json @@ -8,12 +8,21 @@ "pid": "0x0065", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B12", "B8", "B5", "B4", "B3", "B11", "B10", "B1", "B0", "A7", "A6", "A5", "A3", "A4", "A1"], + "rows": ["B13", "A15", "B9", "A2", "A0"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "B14", "num_lock": "A8", "scroll_lock": "A9", "on_state": 0 }, + "ws2812": { + "pin": "B15", + "driver": "spi" + }, "processor": "STM32F103", "bootloader": "stm32duino", "layouts": { diff --git a/keyboards/rart/rartlice/rartlice.c b/keyboards/rart/rartlice/rartlice.c deleted file mode 100644 index a970e96867..0000000000 --- a/keyboards/rart/rartlice/rartlice.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2020 Alabahuy - * 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/>. - */ - -#include "rartlice.h" diff --git a/keyboards/rart/rartlice/rules.mk b/keyboards/rart/rartlice/rules.mk index 2be366363a..49179d2fb9 100644 --- a/keyboards/rart/rartlice/rules.mk +++ b/keyboards/rart/rartlice/rules.mk @@ -11,7 +11,6 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output SLEEP_LED_ENABLE = yes -WS2812_DRIVER = spi OLED_ENABLE = yes OLED_DRIVER = SSD1306 |