summaryrefslogtreecommitdiff
path: root/keyboards/mexsistor
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mexsistor')
-rw-r--r--keyboards/mexsistor/ludmila/config.h1
-rw-r--r--keyboards/mexsistor/ludmila/info.json14
-rw-r--r--keyboards/mexsistor/ludmila/ludmila.c17
-rw-r--r--keyboards/mexsistor/ludmila/ludmila.h36
4 files changed, 9 insertions, 59 deletions
diff --git a/keyboards/mexsistor/ludmila/config.h b/keyboards/mexsistor/ludmila/config.h
index 208e11fc1c..8d8aaed5c7 100644
--- a/keyboards/mexsistor/ludmila/config.h
+++ b/keyboards/mexsistor/ludmila/config.h
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
-#define RGB_DI_PIN D1
#define RGBLED_NUM 4
#define RGBLIGHT_SLEEP
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/mexsistor/ludmila/info.json b/keyboards/mexsistor/ludmila/info.json
index ea42f18d30..fcfecd0fd7 100644
--- a/keyboards/mexsistor/ludmila/info.json
+++ b/keyboards/mexsistor/ludmila/info.json
@@ -13,17 +13,21 @@
{"pin_a": "F6", "pin_b": "F5"}
]
},
+ "ws2812": {
+ "pin": "D1"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
- {"label": "SW1", "x": 0, "y": 0},
- {"label": "SW3", "x": 1, "y": 0},
- {"label": "Encoder", "x": 3, "y": 0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [0, 1], "x": 1, "y": 0},
+
+ {"matrix": [2, 0], "x": 3, "y": 0},
- {"label": "SW2", "x": 0, "y": 1},
- {"label": "SW4", "x": 1, "y": 1}
+ {"matrix": [1, 0], "x": 0, "y": 1},
+ {"matrix": [1, 1], "x": 1, "y": 1}
]
}
}
diff --git a/keyboards/mexsistor/ludmila/ludmila.c b/keyboards/mexsistor/ludmila/ludmila.c
deleted file mode 100644
index 4125d19671..0000000000
--- a/keyboards/mexsistor/ludmila/ludmila.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 Kevin M.
- *
- * 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 "ludmila.h"
diff --git a/keyboards/mexsistor/ludmila/ludmila.h b/keyboards/mexsistor/ludmila/ludmila.h
deleted file mode 100644
index fc95a5492e..0000000000
--- a/keyboards/mexsistor/ludmila/ludmila.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Copyright 2020 Kevin M.
- *
- * 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
-
-#include "quantum.h"
-
-/* This is a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- k00, k01, k20, \
- k10, k11 \
-) { \
- { k00, k01, }, \
- { k10, k11, }, \
- { k20 } \
- }