Move miscellaneous layouts to data driven (#20516)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* 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 "butterstick.h"
|
||||
#include "quantum.h"
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
#ifdef DEBUG_MATRIX
|
||||
|
@@ -1,11 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_butter( \
|
||||
k09, k08, k07, k06, k05, k04, k03, k02, k01, k00, \
|
||||
k19, k18, k17, k16, k15, k14, k13, k12, k11, k10 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09}, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19}, \
|
||||
}
|
@@ -18,27 +18,27 @@
|
||||
"layouts": {
|
||||
"LAYOUT_butter": {
|
||||
"layout": [
|
||||
{"x":0, "y":0},
|
||||
{"x":1, "y":0},
|
||||
{"x":2, "y":0},
|
||||
{"x":3, "y":0},
|
||||
{"x":4, "y":0},
|
||||
{"x":5, "y":0},
|
||||
{"x":6, "y":0},
|
||||
{"x":7, "y":0},
|
||||
{"x":8, "y":0},
|
||||
{"x":9, "y":0},
|
||||
{"matrix": [0, 9], "x": 0, "y": 0},
|
||||
{"matrix": [0, 8], "x": 1, "y": 0},
|
||||
{"matrix": [0, 7], "x": 2, "y": 0},
|
||||
{"matrix": [0, 6], "x": 3, "y": 0},
|
||||
{"matrix": [0, 5], "x": 4, "y": 0},
|
||||
{"matrix": [0, 4], "x": 5, "y": 0},
|
||||
{"matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"matrix": [0, 2], "x": 7, "y": 0},
|
||||
{"matrix": [0, 1], "x": 8, "y": 0},
|
||||
{"matrix": [0, 0], "x": 9, "y": 0},
|
||||
|
||||
{"x":0, "y":1},
|
||||
{"x":1, "y":1},
|
||||
{"x":2, "y":1},
|
||||
{"x":3, "y":1},
|
||||
{"x":4, "y":1},
|
||||
{"x":5, "y":1},
|
||||
{"x":6, "y":1},
|
||||
{"x":7, "y":1},
|
||||
{"x":8, "y":1},
|
||||
{"x":9, "y":1}
|
||||
{"matrix": [1, 9], "x": 0, "y": 1},
|
||||
{"matrix": [1, 8], "x": 1, "y": 1},
|
||||
{"matrix": [1, 7], "x": 2, "y": 1},
|
||||
{"matrix": [1, 6], "x": 3, "y": 1},
|
||||
{"matrix": [1, 5], "x": 4, "y": 1},
|
||||
{"matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"matrix": [1, 3], "x": 6, "y": 1},
|
||||
{"matrix": [1, 2], "x": 7, "y": 1},
|
||||
{"matrix": [1, 1], "x": 8, "y": 1},
|
||||
{"matrix": [1, 0], "x": 9, "y": 1}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "butterstick.h"
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "mousekey.h"
|
||||
#include "keymap_steno.h"
|
||||
#include "wait.h"
|
||||
|
Reference in New Issue
Block a user