update Ds17

This commit is contained in:
Micah 2024-09-16 17:58:50 +08:00
parent 5d7a3a9735
commit fa0d72f989
2 changed files with 5 additions and 45 deletions

View File

@ -108,7 +108,7 @@
}, },
"layouts": { "layouts": {
"LAYOUT": { "LAYOUT_numberpad_5x4": {
"layout": [ "layout": [
{"label":"FN","matrix": [ 0,0],"x":0,"y":0}, {"label":"FN","matrix": [ 0,0],"x":0,"y":0},
{"label":"PSLS","matrix": [ 0,1],"x":1,"y":0}, {"label":"PSLS","matrix": [ 0,1],"x":1,"y":0},

View File

@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// }; // };
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( [0] = LAYOUT_numberpad_5x4(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
MO(1), KC_PSLS, KC_PAST, KC_PMNS, MO(1), KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9, KC_PPLS, KC_P7, KC_P8, KC_P9, KC_PPLS,
@ -39,7 +39,7 @@ KC_P0, KC_PDOT
), ),
[1] = LAYOUT( [1] = LAYOUT_numberpad_5x4(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
MO(1), KC_NUM, MO(2), KC_CALC, MO(1), KC_NUM, MO(2), KC_CALC,
KC_HOME, KC_UP, KC_PGUP, KC_TRNS, KC_HOME, KC_UP, KC_PGUP, KC_TRNS,
@ -49,7 +49,7 @@ QK_RBT, KC_TRNS
), ),
[2] = LAYOUT( [2] = LAYOUT_numberpad_5x4(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI,
RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD, RGB_TOG, RGB_SAI, KC_TRNS, RGB_VAD,
@ -59,47 +59,7 @@ RGB_MOD, KC_TRNS
), ),
[3] = LAYOUT( [3] = LAYOUT_numberpad_5x4(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
),
[4] = LAYOUT(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
),
[5] = LAYOUT(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
),
[6] = LAYOUT(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS
),
[7] = LAYOUT(
//1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 //1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, RGB_VAI,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,