diff options
Diffstat (limited to 'keyboards/system76')
-rw-r--r-- | keyboards/system76/launch_1/config.h | 17 | ||||
-rw-r--r-- | keyboards/system76/launch_1/info.json | 11 | ||||
-rw-r--r-- | keyboards/system76/launch_1/rules.mk | 1 |
3 files changed, 11 insertions, 18 deletions
diff --git a/keyboards/system76/launch_1/config.h b/keyboards/system76/launch_1/config.h index 886b5e2b78..27e3025fe3 100644 --- a/keyboards/system76/launch_1/config.h +++ b/keyboards/system76/launch_1/config.h @@ -17,24 +17,7 @@ #pragma once - -/* - * Key matrix pins - * ROWS: AVR pins used for rows, top to bottom - * COLS: AVR pins used for columns, left to right - */ -#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 } -#define MATRIX_COL_PINS { D7, C7, C6, B6, B5, B4, D6, D4, E6, D5, D3, D2, B7, B0 } - -/* - * Diode Direction - * COL2ROW = COL => Anode (+), ROW => Cathode (-) - * ROW2COL = ROW => Anode (+), COL => Cathode (-) - */ -#define DIODE_DIRECTION COL2ROW - #ifdef RGB_MATRIX_ENABLE -# define RGB_DI_PIN E2 # define RGB_MATRIX_LED_COUNT 84 # define RGB_MATRIX_KEYPRESSES // Reacts to keypresses // # define RGB_MATRIX_KEYRELEASES // Reacts to keyreleases (instead of keypresses) diff --git a/keyboards/system76/launch_1/info.json b/keyboards/system76/launch_1/info.json index e61caec07c..db5912e381 100644 --- a/keyboards/system76/launch_1/info.json +++ b/keyboards/system76/launch_1/info.json @@ -7,6 +7,17 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "ws2812": { + "pin": "E2" + }, + "rgb_matrix": { + "driver": "WS2812" + }, + "matrix_pins": { + "cols": ["D7", "C7", "C6", "B6", "B5", "B4", "D6", "D4", "E6", "D5", "D3", "D2", "B7", "B0"], + "rows": ["F0", "F1", "F4", "F5", "F6", "F7"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/system76/launch_1/rules.mk b/keyboards/system76/launch_1/rules.mk index e20aa1fd58..7dbc07ced0 100644 --- a/keyboards/system76/launch_1/rules.mk +++ b/keyboards/system76/launch_1/rules.mk @@ -17,7 +17,6 @@ RAW_ENABLE = yes # Raw HID commands (used by Keyboard Configurator) BACKLIGHT_ENABLE = no # RGB backlight (conflicts with RGB matrix) RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow RGB_MATRIX_ENABLE = yes # RGB matrix -RGB_MATRIX_DRIVER = WS2812 RGB_MATRIX_CUSTOM_KB = yes # Custom keyboard effects AUDIO_ENABLE = no # Audio output LTO_ENABLE = yes # Link-time optimization for smaller binary |