summaryrefslogtreecommitdiff
path: root/keyboards/mxss
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mxss')
-rw-r--r--keyboards/mxss/config.h8
-rw-r--r--keyboards/mxss/info.json5
-rw-r--r--keyboards/mxss/mxss.c2
3 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/mxss/config.h b/keyboards/mxss/config.h
index 14ed456ecf..1a372c72f5 100644
--- a/keyboards/mxss/config.h
+++ b/keyboards/mxss/config.h
@@ -17,14 +17,6 @@ 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
diff --git a/keyboards/mxss/info.json b/keyboards/mxss/info.json
index 8bc0277016..70bb5c5f76 100644
--- a/keyboards/mxss/info.json
+++ b/keyboards/mxss/info.json
@@ -8,6 +8,11 @@
"pid": "0x5353",
"device_version": "0.0.1"
},
+ "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"