diff options
Diffstat (limited to 'keyboards/mxss')
-rw-r--r-- | keyboards/mxss/config.h | 9 | ||||
-rw-r--r-- | keyboards/mxss/info.json | 8 | ||||
-rw-r--r-- | keyboards/mxss/mxss.c | 2 |
3 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/mxss/config.h b/keyboards/mxss/config.h index 14ed456ecf..d33ee88ce8 100644 --- a/keyboards/mxss/config.h +++ b/keyboards/mxss/config.h @@ -17,16 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -/* matrix pin configuration */ -#define MATRIX_ROW_PINS { F4, F1, F7, B1, B7 } -#define MATRIX_COL_PINS { D7, D6, D4, D0, C6, B6, D1, B5, D2, B4, D3, D5, B0, B2, B3 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - /* Basic RGB configuration */ -#define RGB_DI_PIN C7 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/mxss/info.json b/keyboards/mxss/info.json index 8bc0277016..a69292473e 100644 --- a/keyboards/mxss/info.json +++ b/keyboards/mxss/info.json @@ -8,6 +8,14 @@ "pid": "0x5353", "device_version": "0.0.1" }, + "ws2812": { + "pin": "C7" + }, + "matrix_pins": { + "cols": ["D7", "D6", "D4", "D0", "C6", "B6", "D1", "B5", "D2", "B4", "D3", "D5", "B0", "B2", "B3"], + "rows": ["F4", "F1", "F7", "B1", "B7"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/mxss/mxss.c b/keyboards/mxss/mxss.c index 21beee232c..3bd3e639c9 100644 --- a/keyboards/mxss/mxss.c +++ b/keyboards/mxss/mxss.c @@ -16,7 +16,7 @@ * EEPROM management code from ../cannonkeys/stm32f072/keyboard.c */ -#include QMK_KEYBOARD_H +#include "mxss.h" #include "eeprom.h" #include "action_layer.h" #include "rgblight.h" |