Remove FLIP_HALF layouts and move to data driven (#20588)

This commit is contained in:
Ryan
2023-04-30 01:51:45 +10:00
committed by GitHub
parent 03328ea7a8
commit 998a4d744e
54 changed files with 1920 additions and 2564 deletions

View File

@@ -72,6 +72,23 @@
{"matrix": [7, 5], "x": 10, "y": 3.375},
{"matrix": [7, 4], "x": 11, "y": 3.25}
]
},
"LAYOUT_dips": {
"layout": [
{"matrix": [1, 0], "x": 0, "y": 0},
{"matrix": [2, 0], "x": 1, "y": 0},
{"matrix": [3, 0], "x": 2, "y": 0},
{"matrix": [3, 1], "x": 3, "y": 0},
{"matrix": [3, 2], "x": 4, "y": 0},
{"matrix": [3, 3], "x": 5, "y": 0},
{"matrix": [7, 3], "x": 6, "y": 0},
{"matrix": [7, 2], "x": 7, "y": 0},
{"matrix": [7, 1], "x": 8, "y": 0},
{"matrix": [7, 0], "x": 9, "y": 0},
{"matrix": [6, 0], "x": 10, "y": 0},
{"matrix": [5, 0], "x": 11, "y": 0}
]
}
}
}

View File

@@ -1,4 +1,4 @@
#include "rev1.h"
#include "quantum.h"
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))

View File

@@ -1,22 +0,0 @@
#pragma once
#include "quantum.h"
#define XXX KC_NO
#ifdef DIPS_ENABLE
#define LAYOUT_dips( \
DL0, DL1, DL2, DL3, DL4, DL5, \
DR5, DR4, DR3, DR2, DR1, DR0 \
) \
{ \
{XXX, XXX, XXX, XXX, XXX, XXX, XXX}, \
{DL0, XXX, XXX, XXX, XXX, XXX, XXX}, \
{DL1, XXX, XXX, XXX, XXX, XXX, XXX}, \
{DL2, DL3, DL4, DL5, XXX, XXX, XXX}, \
{XXX, XXX, XXX, XXX, XXX, XXX, XXX}, \
{DR0, XXX, XXX, XXX, XXX, XXX, XXX}, \
{DR1, XXX, XXX, XXX, XXX, XXX, XXX}, \
{DR2, DR3, DR4, DR5, XXX, XXX, XXX}, \
}
#endif // DIPS_ENABLE