Merge remote-tracking branch 'qmk/master' into merge-2024-06-23
This commit is contained in:
commit
e9d70b410a
15675 changed files with 653160 additions and 679575 deletions
|
|
@ -1,7 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
|
@ -9,6 +9,20 @@
|
|||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": true,
|
||||
"resync": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "D2", "D3"],
|
||||
"rows": ["F0", "F1", "F4", "D4", "F6", "F5", "F7", "B6", "B5", "D5", "C7", "C6"]
|
||||
|
|
@ -12,7 +12,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
|
||||
LAYOUT(
|
||||
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, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
QK_BOOT, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
QK_BOOT, 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, 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, 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
|
@ -20,26 +20,26 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
};
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
setPinOutput(B4);
|
||||
setPinOutput(D6);
|
||||
setPinOutput(D7);
|
||||
gpio_set_pin_output(B4);
|
||||
gpio_set_pin_output(D6);
|
||||
gpio_set_pin_output(D7);
|
||||
|
||||
if (led_state.num_lock) {
|
||||
writePinHigh(D7);
|
||||
gpio_write_pin_high(D7);
|
||||
} else {
|
||||
writePinLow(D7);
|
||||
gpio_write_pin_low(D7);
|
||||
}
|
||||
|
||||
if (led_state.caps_lock) {
|
||||
writePinHigh(B4);
|
||||
gpio_write_pin_high(B4);
|
||||
} else {
|
||||
writePinLow(B4);
|
||||
gpio_write_pin_low(B4);
|
||||
}
|
||||
|
||||
if (led_state.scroll_lock) {
|
||||
writePinHigh(D6);
|
||||
gpio_write_pin_high(D6);
|
||||
} else {
|
||||
writePinLow(D6);
|
||||
gpio_write_pin_low(D6);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no
|
||||
RGBLIGHT_ENABLE = no
|
||||
|
|
@ -1,365 +0,0 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "Viktus Minne",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"vid": "0x5644",
|
||||
"pid": "0x4D49"
|
||||
},
|
||||
"bootloader": "atmel-dfu",
|
||||
"processor": "atmega32u4",
|
||||
"features": {
|
||||
"rgblight": true,
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [1, 0]
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["B7", "F7", "D5", "D3", "D2", "D1", "D0"],
|
||||
"rows": ["B6", "B5", "B4", "D7", "D6", "D4", "C6", "C7"]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 14,
|
||||
"max_brightness": 191,
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"rainbow_swirl": true,
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F6"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1.25, "x": 3.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1.25, "x": 4.625, "y": 3},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 5.875, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1.25, "x": 6.875, "y": 3},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1.25, "x": 8.125, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_dual175u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1.25, "x": 3.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1.75, "x": 4.625, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1.75, "x": 6.375, "y": 3},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1.25, "x": 8.125, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_275_225u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1.5, "x": 2.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 2.75, "x": 3.875, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 2.25, "x": 6.625, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1.5, "x": 8.875, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_dual3u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 3, "x": 3.375, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 3, "x": 6.375, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_6u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 6, "x": 3.375, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_7u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1.5, "x": 1.375, "y": 3},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 7, "x": 2.875, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1.5, "x": 9.875, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_10u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 10, "x": 1.375, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
365
keyboards/viktus/minne/keyboard.json
Normal file
365
keyboards/viktus/minne/keyboard.json
Normal file
|
|
@ -0,0 +1,365 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "Viktus Minne",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"vid": "0x5644",
|
||||
"pid": "0x4D49"
|
||||
},
|
||||
"bootloader": "atmel-dfu",
|
||||
"processor": "atmega32u4",
|
||||
"features": {
|
||||
"rgblight": true,
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [1, 0]
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["B7", "F7", "D5", "D3", "D2", "D1", "D0"],
|
||||
"rows": ["B6", "B5", "B4", "D7", "D6", "D4", "C6", "C7"]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 14,
|
||||
"max_brightness": 191,
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"rainbow_swirl": true,
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "F6"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 2.375, "y": 3},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1.25, "x": 3.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1.25, "x": 4.625, "y": 3},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 5.875, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1.25, "x": 6.875, "y": 3},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1.25, "x": 8.125, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_dual175u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 2.375, "y": 3},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1.25, "x": 3.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1.75, "x": 4.625, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1.75, "x": 6.375, "y": 3},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1.25, "x": 8.125, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_275_225u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1.5, "x": 2.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 2.75, "x": 3.875, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 2.25, "x": 6.625, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1.5, "x": 8.875, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_dual3u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 2.375, "y": 3},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 3, "x": 3.375, "y": 3},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 3, "x": 6.375, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_6u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 2.375, "y": 3},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 6, "x": 3.375, "y": 3},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 9.375, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_7u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1.5, "x": 1.375, "y": 3},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 7, "x": 2.875, "y": 3},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1.5, "x": 9.875, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_10u": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 0},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3, "y": 0},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 4, "y": 0},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 5, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 6, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 7, "y": 0},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 8, "y": 0},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 9, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 10, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 2.25, "y": 1},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3.25, "y": 1},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 4.25, "y": 1},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 5.25, "y": 1},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 6.25, "y": 1},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 7.25, "y": 1},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 8.25, "y": 1},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 9.25, "y": 1},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 10.25, "y": 1},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 2.75, "y": 2},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 3.75, "y": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 4.75, "y": 2},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 5.75, "y": 2},
|
||||
{"label": "K43", "matrix": [4, 3], "x": 6.75, "y": 2},
|
||||
{"label": "K44", "matrix": [4, 4], "x": 7.75, "y": 2},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 8.75, "y": 2},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 9.75, "y": 2},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 10.75, "y": 2},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 11.75, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 10, "x": 1.375, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
# This file intentionally left blank
|
||||
|
|
@ -14,8 +14,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "quantum.h"
|
||||
#include "ec.h"
|
||||
#include <avr/interrupt.h>
|
||||
#include "analog.h"
|
||||
//#include "debug.h" // needed for debugging
|
||||
|
||||
|
|
@ -48,35 +48,35 @@ _Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");
|
|||
static ec_config_t config;
|
||||
static uint16_t ec_sw_value[MATRIX_COLS][MATRIX_ROWS];
|
||||
|
||||
static inline void discharge_capacitor(void) { setPinOutput(DISCHARGE_PIN); }
|
||||
static inline void discharge_capacitor(void) { gpio_set_pin_output(DISCHARGE_PIN); }
|
||||
static inline void charge_capacitor(uint8_t col) {
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
writePinHigh(col_pins[col]);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
gpio_write_pin_high(col_pins[col]);
|
||||
}
|
||||
|
||||
static inline void clear_all_col_pins(void) {
|
||||
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||
writePinLow(col_pins[col]);
|
||||
gpio_write_pin_low(col_pins[col]);
|
||||
}
|
||||
}
|
||||
|
||||
void init_mux_sel(void) {
|
||||
for (int idx = 0; idx < sizeof(mux_sel_pins); idx++) {
|
||||
setPinOutput(mux_sel_pins[idx]);
|
||||
gpio_set_pin_output(mux_sel_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
void select_mux(uint8_t row) {
|
||||
uint8_t ch = row_channels[row];
|
||||
writePin(mux_sel_pins[0], ch & 1);
|
||||
writePin(mux_sel_pins[1], ch & 2);
|
||||
writePin(mux_sel_pins[2], ch & 4);
|
||||
gpio_write_pin(mux_sel_pins[0], ch & 1);
|
||||
gpio_write_pin(mux_sel_pins[1], ch & 2);
|
||||
gpio_write_pin(mux_sel_pins[2], ch & 4);
|
||||
}
|
||||
|
||||
void init_col(void) {
|
||||
for (int idx = 0; idx < sizeof(col_pins); idx++) {
|
||||
setPinOutput(col_pins[idx]);
|
||||
writePinLow(col_pins[idx]);
|
||||
gpio_set_pin_output(col_pins[idx]);
|
||||
gpio_write_pin_low(col_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -85,8 +85,8 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
config = *ec_config;
|
||||
|
||||
// initialize discharge pin as discharge mode
|
||||
writePinLow(DISCHARGE_PIN);
|
||||
setPinOutput(DISCHARGE_PIN);
|
||||
gpio_write_pin_low(DISCHARGE_PIN);
|
||||
gpio_set_pin_output(DISCHARGE_PIN);
|
||||
|
||||
// set analog reference
|
||||
analogReference(ADC_REF_POWER);
|
||||
|
|
@ -98,7 +98,7 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
init_mux_sel();
|
||||
|
||||
// set discharge pin to charge mode
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
}
|
||||
|
||||
uint16_t ec_readkey_raw(uint8_t col, uint8_t row) {
|
||||
|
|
|
|||
|
|
@ -1,256 +0,0 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "Viktus Minne - Topre",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "1.3.0",
|
||||
"vid": "0x5644",
|
||||
"pid": "0x4D54"
|
||||
},
|
||||
"bootloader": "atmel-dfu",
|
||||
"processor": "atmega32u4",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [0, 0]
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["B7", "D0", "B6", "D6", "C6", "C7", "D7", "F7", "B4", "F6", "F5", "B5"],
|
||||
"rows": ["A0", "A1", "A3", "A4"]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 2.5, "x": 3.375, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 5.875, "y": 3},
|
||||
{"label": "K37", "matrix": [3, 7], "w": 2.5, "x": 6.875, "y": 3},
|
||||
{"label": "K39", "matrix": [3, 9], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_dual_3u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 3, "x": 3.375, "y": 3},
|
||||
{"label": "K37", "matrix": [3, 7], "w": 3, "x": 6.375, "y": 3},
|
||||
{"label": "K39", "matrix": [3, 9], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_6u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1, "x": 1.375, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 2.375, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 6, "x": 3.375, "y": 3},
|
||||
{"label": "K39", "matrix": [3, 9], "w": 1, "x": 9.375, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "w": 1, "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_7u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1.5, "x": 1.375, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 7, "x": 2.875, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "w": 1.5, "x": 9.875, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_10u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "w": 1, "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1, "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "w": 1, "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "w": 1, "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "w": 1, "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "w": 1, "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1, "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "w": 1, "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "w": 1, "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "w": 1, "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "w": 1, "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "w": 1, "x": 11.75, "y": 2},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 10, "x": 1.375, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
253
keyboards/viktus/minne_topre/keyboard.json
Normal file
253
keyboards/viktus/minne_topre/keyboard.json
Normal file
|
|
@ -0,0 +1,253 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "Viktus Minne - Topre",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "1.3.0",
|
||||
"vid": "0x5644",
|
||||
"pid": "0x4D54"
|
||||
},
|
||||
"bootloader": "atmel-dfu",
|
||||
"processor": "atmega32u4",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["B7", "D0", "B6", "D6", "C6", "C7", "D7", "F7", "B4", "F6", "F5", "B5"],
|
||||
"rows": ["A0", "A1", "A3", "A4"]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 2.375, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 2.5, "x": 3.375, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 5.875, "y": 3},
|
||||
{"label": "K37", "matrix": [3, 7], "w": 2.5, "x": 6.875, "y": 3},
|
||||
{"label": "K39", "matrix": [3, 9], "x": 9.375, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_dual_3u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 2.375, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 3, "x": 3.375, "y": 3},
|
||||
{"label": "K37", "matrix": [3, 7], "w": 3, "x": 6.375, "y": 3},
|
||||
{"label": "K39", "matrix": [3, 9], "x": 9.375, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_6u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1.375, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 2.375, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 6, "x": 3.375, "y": 3},
|
||||
{"label": "K39", "matrix": [3, 9], "x": 9.375, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "x": 10.375, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_7u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 1.5, "x": 1.375, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 7, "x": 2.875, "y": 3},
|
||||
{"label": "K3A", "matrix": [3, 10], "w": 1.5, "x": 9.875, "y": 3}
|
||||
]
|
||||
},
|
||||
"LAYOUT_10u": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 4, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 5, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 6, "y": 0},
|
||||
{"label": "K07", "matrix": [0, 7], "x": 7, "y": 0},
|
||||
{"label": "K08", "matrix": [0, 8], "x": 8, "y": 0},
|
||||
{"label": "K09", "matrix": [0, 9], "x": 9, "y": 0},
|
||||
{"label": "K0A", "matrix": [0, 10], "x": 10, "y": 0},
|
||||
{"label": "K0B", "matrix": [0, 11], "w": 1.75, "x": 11, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1.25, "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1.25, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 2.25, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 3.25, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 4.25, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 5.25, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 6.25, "y": 1},
|
||||
{"label": "K17", "matrix": [1, 7], "x": 7.25, "y": 1},
|
||||
{"label": "K18", "matrix": [1, 8], "x": 8.25, "y": 1},
|
||||
{"label": "K19", "matrix": [1, 9], "x": 9.25, "y": 1},
|
||||
{"label": "K1A", "matrix": [1, 10], "x": 10.25, "y": 1},
|
||||
{"label": "K1B", "matrix": [1, 11], "w": 1.5, "x": 11.25, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1.75, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 1.75, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 2.75, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 3.75, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 4.75, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 5.75, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 6.75, "y": 2},
|
||||
{"label": "K27", "matrix": [2, 7], "x": 7.75, "y": 2},
|
||||
{"label": "K28", "matrix": [2, 8], "x": 8.75, "y": 2},
|
||||
{"label": "K29", "matrix": [2, 9], "x": 9.75, "y": 2},
|
||||
{"label": "K2A", "matrix": [2, 10], "x": 10.75, "y": 2},
|
||||
{"label": "K2B", "matrix": [2, 11], "x": 11.75, "y": 2},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 10, "x": 1.375, "y": 3}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
|
@ -9,6 +9,20 @@
|
|||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": true,
|
||||
"resync": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C2", "C3", "C4", "C7", "C1", "C0", "E1", "E0", "D7", "F7", "F6", "F5", "F4", "F3", "F2", "F1", "F0", "E6", "E7", "B0", "B1", "B2", "B3"],
|
||||
"rows": ["B7", "D0", "D1", "D2", "D3", "D4"]
|
||||
|
|
@ -13,7 +13,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
|
||||
[1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, _______, XXXXXXX, _______, _______, _______, _______,
|
||||
|
|
@ -23,24 +23,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
};
|
||||
|
||||
bool led_update_user(led_t led_state) {
|
||||
DDRB |= (1 << 4) | (1 << 5) | (1 << 6);
|
||||
gpio_set_pin_output(B4);
|
||||
gpio_set_pin_output(B5);
|
||||
gpio_set_pin_output(B6);
|
||||
|
||||
if (led_state.num_lock) {
|
||||
PORTB |= (1 << 4);
|
||||
} else {
|
||||
PORTB &= ~(1 << 4);
|
||||
}
|
||||
gpio_write_pin(B4, led_state.num_lock);
|
||||
gpio_write_pin(B5, led_state.caps_lock);
|
||||
gpio_write_pin(B6, led_state.scroll_lock);
|
||||
|
||||
if (led_state.caps_lock) {
|
||||
PORTB |= (1 << 5);
|
||||
} else {
|
||||
PORTB &= ~(1 << 5);
|
||||
}
|
||||
|
||||
if (led_state.scroll_lock) {
|
||||
PORTB |= (1 << 6);
|
||||
} else {
|
||||
PORTB &= ~(1 << 6);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no
|
||||
RGBLIGHT_ENABLE = no
|
||||
|
|
@ -1,474 +0,0 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "OSAv2",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "2.1.0",
|
||||
"vid": "0x5644",
|
||||
"pid": "0x5632"
|
||||
},
|
||||
"bootloader": "atmel-dfu",
|
||||
"processor": "atmega32u4",
|
||||
"features": {
|
||||
"backlight": true,
|
||||
"rgblight": true,
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [1, 0]
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["B4", "D7", "D5", "D3", "D2", "D1", "D0", "B5"],
|
||||
"rows": ["F0", "F1", "F4", "F5", "F6", "B0", "B1", "B2", "B3", "B7"]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 23,
|
||||
"max_brightness": 191,
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"rainbow_swirl": true,
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D4"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "timer",
|
||||
"levels": 6,
|
||||
"max_brightness": 191,
|
||||
"pin": "D6"
|
||||
},
|
||||
"indicators": {
|
||||
"num_lock": "C7",
|
||||
"caps_lock": "C6",
|
||||
"scroll_lock": "B6"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_split_normal": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "w": 1, "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 14.75, "y": 0},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1, "x": 15.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 1, "x": 16.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1, "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "w": 1, "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "w": 1, "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1, "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1, "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1, "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "w": 1, "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "w": 1, "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1, "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "w": 1, "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "w": 1, "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "w": 1, "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "w": 1, "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "w": 1, "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "w": 1, "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 2.75, "x": 15.75, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_split_normal_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "w": 1, "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 14.75, "y": 0},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1, "x": 15.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 1, "x": 16.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1, "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "w": 1, "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "w": 1, "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1, "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1, "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1, "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "w": 1, "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "w": 1, "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1, "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "w": 1, "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "w": 1, "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "w": 1, "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "w": 1, "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "w": 1, "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "w": 1, "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "w": 1, "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_split_mirrored_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "w": 1, "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 14.75, "y": 0},
|
||||
{"label": "K50", "matrix": [5, 0], "w": 1, "x": 15.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 1, "x": 16.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1, "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "w": 1, "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "w": 1, "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1, "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1, "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1, "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "w": 1, "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "w": 1, "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1, "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "w": 1, "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "w": 1, "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "w": 1, "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "w": 1, "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "w": 1, "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "w": 1, "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "w": 1, "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 2.25, "x": 6.5, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_2u_normal": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "w": 1, "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 14.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 2, "x": 15.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1, "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "w": 1, "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "w": 1, "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1, "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1, "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1, "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "w": 1, "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "w": 1, "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1, "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "w": 1, "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "w": 1, "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "w": 1, "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "w": 1, "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "w": 1, "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "w": 1, "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 2.75, "x": 15.75, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_2u_normal_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "w": 1, "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 14.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 2, "x": 15.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1, "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "w": 1, "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "w": 1, "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1, "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1, "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1, "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "w": 1, "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "w": 1, "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1, "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "w": 1, "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "w": 1, "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "w": 1, "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "w": 1, "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "w": 1, "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "w": 1, "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "w": 1, "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 1, "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_2u_mirrored_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "w": 1, "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "w": 1, "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "w": 1, "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "w": 1, "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "w": 1, "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "w": 1, "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "w": 1, "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "w": 1, "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "w": 1, "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "w": 1, "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "w": 1, "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "w": 1, "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "w": 1, "x": 14.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 2, "x": 15.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "w": 1, "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "w": 1, "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "w": 1, "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "w": 1, "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "w": 1, "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "w": 1, "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "w": 1, "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "w": 1, "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "w": 1, "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "w": 1, "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "w": 1, "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "w": 1, "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "w": 1, "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "w": 1, "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "w": 1, "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "w": 1, "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "w": 1, "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "w": 1, "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "w": 1, "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "w": 1, "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "w": 1, "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "w": 1, "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "w": 1, "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "w": 1, "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "w": 1, "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "w": 1, "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "w": 1, "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "w": 1, "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "w": 1, "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "w": 1, "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "w": 1, "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "w": 1, "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "w": 1, "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "w": 1, "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "w": 1, "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "w": 1, "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "w": 1, "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 1, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 2.25, "x": 6.5, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
474
keyboards/viktus/osav2/keyboard.json
Normal file
474
keyboards/viktus/osav2/keyboard.json
Normal file
|
|
@ -0,0 +1,474 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "OSAv2",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "2.1.0",
|
||||
"vid": "0x5644",
|
||||
"pid": "0x5632"
|
||||
},
|
||||
"bootloader": "atmel-dfu",
|
||||
"processor": "atmega32u4",
|
||||
"features": {
|
||||
"backlight": true,
|
||||
"rgblight": true,
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"bootmagic": {
|
||||
"matrix": [1, 0]
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"matrix_pins": {
|
||||
"cols": ["B4", "D7", "D5", "D3", "D2", "D1", "D0", "B5"],
|
||||
"rows": ["F0", "F1", "F4", "F5", "F6", "B0", "B1", "B2", "B3", "B7"]
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 23,
|
||||
"max_brightness": 191,
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"rainbow_swirl": true,
|
||||
"twinkle": true
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "D4"
|
||||
},
|
||||
"backlight": {
|
||||
"driver": "timer",
|
||||
"levels": 6,
|
||||
"max_brightness": 191,
|
||||
"pin": "D6"
|
||||
},
|
||||
"indicators": {
|
||||
"num_lock": "C7",
|
||||
"caps_lock": "C6",
|
||||
"scroll_lock": "B6"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_split_normal": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 14.75, "y": 0},
|
||||
{"label": "K50", "matrix": [5, 0], "x": 15.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "x": 16.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 2.75, "x": 15.75, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_split_normal_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 14.75, "y": 0},
|
||||
{"label": "K50", "matrix": [5, 0], "x": 15.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "x": 16.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_split_mirrored_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 14.75, "y": 0},
|
||||
{"label": "K50", "matrix": [5, 0], "x": 15.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "x": 16.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 2.25, "x": 6.5, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_2u_normal": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 14.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 2, "x": 15.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 2.75, "x": 15.75, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_2u_normal_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 14.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 2, "x": 15.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "w": 2.25, "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "x": 7.75, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
},
|
||||
"LAYOUT_2u_mirrored_split": {
|
||||
"layout": [
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0.5, "y": 0},
|
||||
{"label": "K00", "matrix": [0, 0], "x": 1.75, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 2.75, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 3.75, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 4.75, "y": 0},
|
||||
{"label": "K04", "matrix": [0, 4], "x": 5.75, "y": 0},
|
||||
{"label": "K05", "matrix": [0, 5], "x": 6.75, "y": 0},
|
||||
{"label": "K06", "matrix": [0, 6], "x": 7.75, "y": 0},
|
||||
{"label": "K56", "matrix": [5, 6], "x": 9.75, "y": 0},
|
||||
{"label": "K55", "matrix": [5, 5], "x": 10.75, "y": 0},
|
||||
{"label": "K54", "matrix": [5, 4], "x": 11.75, "y": 0},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 12.75, "y": 0},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 13.75, "y": 0},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 14.75, "y": 0},
|
||||
{"label": "K57", "matrix": [5, 7], "w": 2, "x": 15.75, "y": 0},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0.25, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "w": 1.5, "x": 1.5, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 3, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 4, "y": 1},
|
||||
{"label": "K14", "matrix": [1, 4], "x": 5, "y": 1},
|
||||
{"label": "K15", "matrix": [1, 5], "x": 6, "y": 1},
|
||||
{"label": "K16", "matrix": [1, 6], "x": 7, "y": 1},
|
||||
{"label": "K66", "matrix": [6, 6], "x": 9.5, "y": 1},
|
||||
{"label": "K65", "matrix": [6, 5], "x": 10.5, "y": 1},
|
||||
{"label": "K64", "matrix": [6, 4], "x": 11.5, "y": 1},
|
||||
{"label": "K63", "matrix": [6, 3], "x": 12.5, "y": 1},
|
||||
{"label": "K62", "matrix": [6, 2], "x": 13.5, "y": 1},
|
||||
{"label": "K61", "matrix": [6, 1], "x": 14.5, "y": 1},
|
||||
{"label": "K60", "matrix": [6, 0], "x": 15.5, "y": 1},
|
||||
{"label": "K67", "matrix": [6, 7], "w": 1.5, "x": 16.5, "y": 1},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "w": 1.75, "x": 1.25, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 3, "y": 2},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 4, "y": 2},
|
||||
{"label": "K24", "matrix": [2, 4], "x": 5, "y": 2},
|
||||
{"label": "K25", "matrix": [2, 5], "x": 6, "y": 2},
|
||||
{"label": "K26", "matrix": [2, 6], "x": 7, "y": 2},
|
||||
{"label": "K76", "matrix": [7, 6], "x": 10, "y": 2},
|
||||
{"label": "K75", "matrix": [7, 5], "x": 11, "y": 2},
|
||||
{"label": "K74", "matrix": [7, 4], "x": 12, "y": 2},
|
||||
{"label": "K73", "matrix": [7, 3], "x": 13, "y": 2},
|
||||
{"label": "K72", "matrix": [7, 2], "x": 14, "y": 2},
|
||||
{"label": "K71", "matrix": [7, 1], "x": 15, "y": 2},
|
||||
{"label": "K77", "matrix": [7, 7], "w": 2.25, "x": 16, "y": 2},
|
||||
{"label": "K31", "matrix": [3, 1], "w": 2.25, "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"label": "K33", "matrix": [3, 3], "x": 4.25, "y": 3},
|
||||
{"label": "K34", "matrix": [3, 4], "x": 5.25, "y": 3},
|
||||
{"label": "K35", "matrix": [3, 5], "x": 6.25, "y": 3},
|
||||
{"label": "K36", "matrix": [3, 6], "x": 7.25, "y": 3},
|
||||
{"label": "K86", "matrix": [8, 6], "x": 9.75, "y": 3},
|
||||
{"label": "K85", "matrix": [8, 5], "x": 10.75, "y": 3},
|
||||
{"label": "K84", "matrix": [8, 4], "x": 11.75, "y": 3},
|
||||
{"label": "K83", "matrix": [8, 3], "x": 12.75, "y": 3},
|
||||
{"label": "K82", "matrix": [8, 2], "x": 13.75, "y": 3},
|
||||
{"label": "K81", "matrix": [8, 1], "x": 14.75, "y": 3},
|
||||
{"label": "K80", "matrix": [8, 0], "w": 1.75, "x": 15.75, "y": 3},
|
||||
{"label": "K87", "matrix": [8, 7], "x": 17.5, "y": 3},
|
||||
{"label": "K41", "matrix": [4, 1], "w": 1.5, "x": 1, "y": 4},
|
||||
{"label": "K43", "matrix": [4, 3], "w": 1.5, "x": 4, "y": 4},
|
||||
{"label": "K45", "matrix": [4, 5], "x": 5.5, "y": 4},
|
||||
{"label": "K46", "matrix": [4, 6], "w": 2.25, "x": 6.5, "y": 4},
|
||||
{"label": "K95", "matrix": [9, 5], "w": 2.75, "x": 9.75, "y": 4},
|
||||
{"label": "K93", "matrix": [9, 3], "w": 1.5, "x": 12.5, "y": 4},
|
||||
{"label": "K90", "matrix": [9, 0], "w": 1.5, "x": 16.75, "y": 4}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
# This file intentionally left blank
|
||||
|
|
@ -1 +0,0 @@
|
|||
# This file intentionally left blank
|
||||
|
|
@ -14,8 +14,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "quantum.h"
|
||||
#include "ec.h"
|
||||
#include <avr/interrupt.h>
|
||||
#include "analog.h"
|
||||
//#include "debug.h" // needed for debugging
|
||||
|
||||
|
|
@ -48,35 +48,35 @@ _Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");
|
|||
static ec_config_t config;
|
||||
static uint16_t ec_sw_value[MATRIX_COLS][MATRIX_ROWS];
|
||||
|
||||
static inline void discharge_capacitor(void) { setPinOutput(DISCHARGE_PIN); }
|
||||
static inline void discharge_capacitor(void) { gpio_set_pin_output(DISCHARGE_PIN); }
|
||||
static inline void charge_capacitor(uint8_t col) {
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
writePinHigh(col_pins[col]);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
gpio_write_pin_high(col_pins[col]);
|
||||
}
|
||||
|
||||
static inline void clear_all_col_pins(void) {
|
||||
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||
writePinLow(col_pins[col]);
|
||||
gpio_write_pin_low(col_pins[col]);
|
||||
}
|
||||
}
|
||||
|
||||
void init_mux_sel(void) {
|
||||
for (int idx = 0; idx < sizeof(mux_sel_pins); idx++) {
|
||||
setPinOutput(mux_sel_pins[idx]);
|
||||
gpio_set_pin_output(mux_sel_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
void select_mux(uint8_t row) {
|
||||
uint8_t ch = row_channels[row];
|
||||
writePin(mux_sel_pins[0], ch & 1);
|
||||
writePin(mux_sel_pins[1], ch & 2);
|
||||
writePin(mux_sel_pins[2], ch & 4);
|
||||
gpio_write_pin(mux_sel_pins[0], ch & 1);
|
||||
gpio_write_pin(mux_sel_pins[1], ch & 2);
|
||||
gpio_write_pin(mux_sel_pins[2], ch & 4);
|
||||
}
|
||||
|
||||
void init_col(void) {
|
||||
for (int idx = 0; idx < sizeof(col_pins); idx++) {
|
||||
setPinOutput(col_pins[idx]);
|
||||
writePinLow(col_pins[idx]);
|
||||
gpio_set_pin_output(col_pins[idx]);
|
||||
gpio_write_pin_low(col_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -85,8 +85,8 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
config = *ec_config;
|
||||
|
||||
// initialize discharge pin as discharge mode
|
||||
writePinLow(DISCHARGE_PIN);
|
||||
setPinOutput(DISCHARGE_PIN);
|
||||
gpio_write_pin_low(DISCHARGE_PIN);
|
||||
gpio_set_pin_output(DISCHARGE_PIN);
|
||||
|
||||
// set analog reference
|
||||
analogReference(ADC_REF_POWER);
|
||||
|
|
@ -98,7 +98,7 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
init_mux_sel();
|
||||
|
||||
// set discharge pin to charge mode
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
}
|
||||
|
||||
uint16_t ec_readkey_raw(uint8_t col, uint8_t row) {
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "quantum.h"
|
||||
#include "ec.h"
|
||||
#include <avr/interrupt.h>
|
||||
#include "analog.h"
|
||||
//#include "debug.h" // needed for debugging
|
||||
|
||||
|
|
@ -48,35 +48,35 @@ _Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");
|
|||
static ec_config_t config;
|
||||
static uint16_t ec_sw_value[MATRIX_COLS][MATRIX_ROWS];
|
||||
|
||||
static inline void discharge_capacitor(void) { setPinOutput(DISCHARGE_PIN); }
|
||||
static inline void discharge_capacitor(void) { gpio_set_pin_output(DISCHARGE_PIN); }
|
||||
static inline void charge_capacitor(uint8_t col) {
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
writePinHigh(col_pins[col]);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
gpio_write_pin_high(col_pins[col]);
|
||||
}
|
||||
|
||||
static inline void clear_all_col_pins(void) {
|
||||
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||
writePinLow(col_pins[col]);
|
||||
gpio_write_pin_low(col_pins[col]);
|
||||
}
|
||||
}
|
||||
|
||||
void init_mux_sel(void) {
|
||||
for (int idx = 0; idx < sizeof(mux_sel_pins); idx++) {
|
||||
setPinOutput(mux_sel_pins[idx]);
|
||||
gpio_set_pin_output(mux_sel_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
void select_mux(uint8_t row) {
|
||||
uint8_t ch = row_channels[row];
|
||||
writePin(mux_sel_pins[0], ch & 1);
|
||||
writePin(mux_sel_pins[1], ch & 2);
|
||||
writePin(mux_sel_pins[2], ch & 4);
|
||||
gpio_write_pin(mux_sel_pins[0], ch & 1);
|
||||
gpio_write_pin(mux_sel_pins[1], ch & 2);
|
||||
gpio_write_pin(mux_sel_pins[2], ch & 4);
|
||||
}
|
||||
|
||||
void init_col(void) {
|
||||
for (int idx = 0; idx < sizeof(col_pins); idx++) {
|
||||
setPinOutput(col_pins[idx]);
|
||||
writePinLow(col_pins[idx]);
|
||||
gpio_set_pin_output(col_pins[idx]);
|
||||
gpio_write_pin_low(col_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -85,8 +85,8 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
config = *ec_config;
|
||||
|
||||
// initialize discharge pin as discharge mode
|
||||
writePinLow(DISCHARGE_PIN);
|
||||
setPinOutput(DISCHARGE_PIN);
|
||||
gpio_write_pin_low(DISCHARGE_PIN);
|
||||
gpio_set_pin_output(DISCHARGE_PIN);
|
||||
|
||||
// set analog reference
|
||||
analogReference(ADC_REF_POWER);
|
||||
|
|
@ -98,7 +98,7 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
init_mux_sel();
|
||||
|
||||
// set discharge pin to charge mode
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
}
|
||||
|
||||
uint16_t ec_readkey_raw(uint8_t col, uint8_t row) {
|
||||
|
|
|
|||
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
Copyright 2021 jrfhoutx
|
||||
|
||||
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
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
|
@ -8,6 +8,21 @@
|
|||
"pid": "0x0010",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"encoder": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": true,
|
||||
"resync": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D6", "D7", "B4", "B5", "B6", "D4", "B1", "B2"],
|
||||
"rows": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6"]
|
||||
|
|
@ -36,7 +36,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[1] = LAYOUT_all( /* Smolka Base */
|
||||
QK_BOOT, 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, KC_TRNS,
|
||||
QK_BOOT, 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, 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, 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, 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, KC_TRNS, KC_TRNS
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
# The default keymap for smolka
|
||||
|
|
@ -36,7 +36,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[1] = LAYOUT_all( /* Smolka Base */
|
||||
QK_BOOT, 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, KC_TRNS,
|
||||
QK_BOOT, 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, 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, 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, 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, KC_TRNS, KC_TRNS
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
# The default via keymap for smolka
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
ENCODER_ENABLE = yes
|
||||
|
|
@ -20,11 +20,6 @@
|
|||
#define MATRIX_ROWS 6*2
|
||||
#define MATRIX_COLS 11
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
|
|
|||
|
|
@ -8,6 +8,21 @@
|
|||
"pid": "0x5111",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": true,
|
||||
"resync": true
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
|
@ -13,8 +13,10 @@
|
|||
* 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 "matrix.h"
|
||||
#include "mcp23018.h"
|
||||
#include "quantum.h"
|
||||
#include "print.h"
|
||||
#include "wait.h"
|
||||
|
||||
// Optimize scanning code for speed as a slight mitigation for the port expander
|
||||
#pragma GCC push_options
|
||||
|
|
@ -31,22 +33,22 @@ static const pin_t col_pins[MATRIX_COLS] = {F5, F6, F7, C7, C6, B6, B5, D3,
|
|||
//_____REGULAR funcs____________________________________________________________
|
||||
|
||||
static void select_row(uint8_t row) {
|
||||
setPinOutput(row_pins[row]);
|
||||
writePinLow(row_pins[row]);
|
||||
gpio_set_pin_output(row_pins[row]);
|
||||
gpio_write_pin_low(row_pins[row]);
|
||||
}
|
||||
|
||||
static void unselect_row(uint8_t row) { setPinInputHigh(row_pins[row]); }
|
||||
static void unselect_row(uint8_t row) { gpio_set_pin_input_high(row_pins[row]); }
|
||||
|
||||
static void unselect_rows(void) {
|
||||
for (uint8_t x = 0; x < MATRIX_ROWS / 2; x++) {
|
||||
setPinInputHigh(row_pins[x]);
|
||||
gpio_set_pin_input_high(row_pins[x]);
|
||||
}
|
||||
}
|
||||
|
||||
static void init_pins(void) {
|
||||
unselect_rows();
|
||||
for (uint8_t x = 0; x < MATRIX_COLS; x++) {
|
||||
setPinInputHigh(col_pins[x]);
|
||||
gpio_set_pin_input_high(col_pins[x]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -64,7 +66,7 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row)
|
|||
// For each col...
|
||||
for (uint8_t col_index = 0; col_index < MATRIX_COLS; col_index++) {
|
||||
// Select the col pin to read (active low)
|
||||
uint8_t pin_state = readPin(col_pins[col_index]);
|
||||
uint8_t pin_state = gpio_read_pin(col_pins[col_index]);
|
||||
|
||||
// Populate the matrix row with the state of the col pin
|
||||
current_row_value |= pin_state ? 0 : (MATRIX_ROW_SHIFTER << col_index);
|
||||
|
|
@ -117,7 +119,7 @@ static void select_row_MCP23018(uint8_t row) {
|
|||
|
||||
static uint16_t read_cols_MCP23018(void) {
|
||||
uint16_t tmp = 0xFFFF;
|
||||
mcp23018_errors += !mcp23018_readPins_all(I2C_ADDR, &tmp);
|
||||
mcp23018_errors += !mcp23018_read_pins_all(I2C_ADDR, &tmp);
|
||||
|
||||
uint16_t state = ((tmp & 0b11111111) << 2) | ((tmp & 0b0110000000000000) >> 13);
|
||||
return (~state) & 0b1111111111;
|
||||
|
|
|
|||
|
|
@ -1,18 +1,3 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
LTO_ENABLE = yes # Smaller (and slightly faster) firmware
|
||||
|
||||
|
||||
# custom matrix setup
|
||||
CUSTOM_MATRIX = lite
|
||||
|
||||
|
|
|
|||
|
|
@ -17,16 +17,16 @@
|
|||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
// enable built in pullups to avoid timeouts when right hand not connected
|
||||
setPinInputHigh(D0);
|
||||
setPinInputHigh(D1);
|
||||
gpio_set_pin_input_high(D0);
|
||||
gpio_set_pin_input_high(D1);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
setPinOutput(F0);
|
||||
setPinOutput(F1);
|
||||
setPinOutput(F4);
|
||||
gpio_set_pin_output(F0);
|
||||
gpio_set_pin_output(F1);
|
||||
gpio_set_pin_output(F4);
|
||||
|
||||
matrix_init_user();
|
||||
}
|
||||
|
|
@ -34,9 +34,9 @@ void matrix_init_kb(void) {
|
|||
bool led_update_kb(led_t led_state) {
|
||||
bool res = led_update_user(led_state);
|
||||
if (res) {
|
||||
writePin(F0, led_state.num_lock);
|
||||
writePin(F1, led_state.caps_lock);
|
||||
writePin(F4, led_state.scroll_lock);
|
||||
gpio_write_pin(F0, led_state.num_lock);
|
||||
gpio_write_pin(F1, led_state.caps_lock);
|
||||
gpio_write_pin(F4, led_state.scroll_lock);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
# This file intentionally left blank
|
||||
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
// enable built in pullups to avoid timeouts when right hand not connected
|
||||
setPinInputHigh(D0);
|
||||
setPinInputHigh(D1);
|
||||
gpio_set_pin_input_high(D0);
|
||||
gpio_set_pin_input_high(D1);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,16 @@
|
|||
"pid": "0x534D",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"encoder": true,
|
||||
"extrakey": true,
|
||||
"mousekey": false,
|
||||
"nkro": true,
|
||||
"rgblight": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B6", "C6", "C7", "D4", "D2", "D3", "D5", null],
|
||||
"rows": ["F0", "B5", "B4", "D7", "D6"]
|
||||
|
|
@ -19,6 +29,7 @@
|
|||
]
|
||||
},
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["B6", "C6", "C7", "D4", "D2", "D3", "D5", "B7"],
|
||||
|
|
@ -49,7 +49,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[_FN1] = LAYOUT_all(
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, _______,
|
||||
_______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, KC_VOLU, KC_LBRC, KC_RBRC, KC_4, KC_5, KC_6, KC_SCLN, _______, _______,
|
||||
_______, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, KC_VOLD, KC_LCBR, KC_RCBR, KC_1, KC_2, KC_3, _______, KC_UP,
|
||||
|
|
@ -75,30 +75,30 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
};
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
setPinOutput(F5); // initialize F5 for LED
|
||||
setPinOutput(F6); // initialize F6 for LED
|
||||
setPinOutput(F7); // initialize F7 for LED
|
||||
gpio_set_pin_output(F5); // initialize F5 for LED
|
||||
gpio_set_pin_output(F6); // initialize F6 for LED
|
||||
gpio_set_pin_output(F7); // initialize F7 for LED
|
||||
|
||||
}
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
writePinLow(F5);
|
||||
writePinLow(F6);
|
||||
writePinLow(F7);
|
||||
gpio_write_pin_low(F5);
|
||||
gpio_write_pin_low(F6);
|
||||
gpio_write_pin_low(F7);
|
||||
switch (get_highest_layer(state)) {
|
||||
case _FN1:
|
||||
writePinHigh(F5);
|
||||
gpio_write_pin_high(F5);
|
||||
break;
|
||||
case _FN2:
|
||||
writePinHigh(F6);
|
||||
gpio_write_pin_high(F6);
|
||||
break;
|
||||
case _FN3: // replace 'XXXX' with the layer or function name
|
||||
writePinHigh(F7);
|
||||
gpio_write_pin_high(F7);
|
||||
break;
|
||||
case KC_F24:
|
||||
writePinHigh(F7);
|
||||
writePinHigh(F5);
|
||||
writePinHigh(F6);
|
||||
gpio_write_pin_high(F7);
|
||||
gpio_write_pin_high(F5);
|
||||
gpio_write_pin_high(F6);
|
||||
break;
|
||||
}
|
||||
return state;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[_FN1] = LAYOUT_all(
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, _______,
|
||||
_______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, KC_VOLU, KC_LBRC, KC_RBRC, KC_4, KC_5, KC_6, KC_SCLN, _______, _______,
|
||||
_______, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, KC_VOLD, KC_LCBR, KC_RCBR, KC_1, KC_2, KC_3, _______, KC_UP,
|
||||
|
|
@ -75,38 +75,38 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
};
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
setPinOutput(F5); // initialize F5 for LED
|
||||
setPinOutput(F6); // initialize F6 for LED
|
||||
setPinOutput(F7); // initialize F7 for LED
|
||||
gpio_set_pin_output(F5); // initialize F5 for LED
|
||||
gpio_set_pin_output(F6); // initialize F6 for LED
|
||||
gpio_set_pin_output(F7); // initialize F7 for LED
|
||||
|
||||
}
|
||||
|
||||
layer_state_t layer_state_set_user(layer_state_t state) {
|
||||
switch (get_highest_layer(state)) {
|
||||
case _FN1:
|
||||
writePinHigh(F5);
|
||||
writePinLow(F6);
|
||||
writePinLow(F7);
|
||||
gpio_write_pin_high(F5);
|
||||
gpio_write_pin_low(F6);
|
||||
gpio_write_pin_low(F7);
|
||||
break;
|
||||
case _FN2:
|
||||
writePinHigh(F6);
|
||||
writePinLow(F5);
|
||||
writePinLow(F7);
|
||||
gpio_write_pin_high(F6);
|
||||
gpio_write_pin_low(F5);
|
||||
gpio_write_pin_low(F7);
|
||||
break;
|
||||
case _FN3: // replace 'XXXX' with the layer or function name
|
||||
writePinHigh(F7);
|
||||
writePinLow(F5);
|
||||
writePinLow(F6);
|
||||
gpio_write_pin_high(F7);
|
||||
gpio_write_pin_low(F5);
|
||||
gpio_write_pin_low(F6);
|
||||
break;
|
||||
case KC_F24:
|
||||
writePinHigh(F7);
|
||||
writePinHigh(F5);
|
||||
writePinHigh(F6);
|
||||
gpio_write_pin_high(F7);
|
||||
gpio_write_pin_high(F5);
|
||||
gpio_write_pin_high(F6);
|
||||
break;
|
||||
default:
|
||||
writePinLow(F5);
|
||||
writePinLow(F6);
|
||||
writePinLow(F7);
|
||||
gpio_write_pin_low(F5);
|
||||
gpio_write_pin_low(F6);
|
||||
gpio_write_pin_low(F7);
|
||||
break;
|
||||
}
|
||||
return state;
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
SPLIT_KEYBOARD = yes
|
||||
ENCODER_ENABLE = yes
|
||||
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
// enable built in pullups to avoid timeouts when right hand not connected
|
||||
setPinInputHigh(D0);
|
||||
setPinInputHigh(D1);
|
||||
gpio_set_pin_input_high(D0);
|
||||
gpio_set_pin_input_high(D1);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,39 +0,0 @@
|
|||
/*
|
||||
Copyright 2020 jrfhoutx
|
||||
|
||||
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
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
|
@ -8,6 +8,20 @@
|
|||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": false,
|
||||
"nkro": true
|
||||
},
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": true,
|
||||
"resync": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "A1", "A2", "A3", "A4", "B14", "B15", "A8", "A9"],
|
||||
"rows": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B13", "B12"]
|
||||
|
|
@ -1 +0,0 @@
|
|||
# A keymap for the Viktus Styrka that covers all supported layout options
|
||||
|
|
@ -39,7 +39,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[1] = LAYOUT_default( /* Styrka Base */
|
||||
QK_BOOT, KC_F2, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_INS,
|
||||
QK_BOOT, KC_F2, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_INS,
|
||||
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, KC_DEL,
|
||||
KC_F5, KC_F6, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP,
|
||||
KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN,
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
# The default keymap for the Viktus Styrka
|
||||
|
|
@ -1 +0,0 @@
|
|||
# The Split Backspace keymap for the Viktus Styrka
|
||||
|
|
@ -39,7 +39,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[1] = LAYOUT_all( /* Styrka Base */
|
||||
QK_BOOT, 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, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
QK_BOOT, 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, 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, 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, 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, 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, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
# The VIA keymap for the Viktus Styrka
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
#include "ec.h"
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
#include "quantum.h"
|
||||
#include "analog.h"
|
||||
//#include "debug.h"
|
||||
|
||||
|
|
@ -49,35 +49,35 @@ _Static_assert(sizeof(mux_sel_pins) == 3, "invalid MUX_SEL_PINS");
|
|||
static ec_config_t config;
|
||||
static uint16_t ec_sw_value[MATRIX_COLS][MATRIX_ROWS];
|
||||
|
||||
static inline void discharge_capacitor(void) { setPinOutput(DISCHARGE_PIN); }
|
||||
static inline void discharge_capacitor(void) { gpio_set_pin_output(DISCHARGE_PIN); }
|
||||
static inline void charge_capacitor(uint8_t col) {
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
writePinHigh(col_pins[col]);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
gpio_write_pin_high(col_pins[col]);
|
||||
}
|
||||
|
||||
static inline void clear_all_col_pins(void) {
|
||||
for (int col = 0; col < sizeof(col_pins); col++) {
|
||||
writePinLow(col_pins[col]);
|
||||
gpio_write_pin_low(col_pins[col]);
|
||||
}
|
||||
}
|
||||
|
||||
void init_mux_sel(void) {
|
||||
for (int idx = 0; idx < sizeof(mux_sel_pins); idx++) {
|
||||
setPinOutput(mux_sel_pins[idx]);
|
||||
gpio_set_pin_output(mux_sel_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
void select_mux(uint8_t row) {
|
||||
uint8_t ch = row_channels[row];
|
||||
writePin(mux_sel_pins[0], ch & 1);
|
||||
writePin(mux_sel_pins[1], ch & 2);
|
||||
writePin(mux_sel_pins[2], ch & 4);
|
||||
gpio_write_pin(mux_sel_pins[0], ch & 1);
|
||||
gpio_write_pin(mux_sel_pins[1], ch & 2);
|
||||
gpio_write_pin(mux_sel_pins[2], ch & 4);
|
||||
}
|
||||
|
||||
void init_col(void) {
|
||||
for (int idx = 0; idx < sizeof(col_pins); idx++) {
|
||||
setPinOutput(col_pins[idx]);
|
||||
writePinLow(col_pins[idx]);
|
||||
gpio_set_pin_output(col_pins[idx]);
|
||||
gpio_write_pin_low(col_pins[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -86,8 +86,8 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
config = *ec_config;
|
||||
|
||||
// initialize discharge pin as discharge mode
|
||||
writePinLow(DISCHARGE_PIN);
|
||||
setPinOutput(DISCHARGE_PIN);
|
||||
gpio_write_pin_low(DISCHARGE_PIN);
|
||||
gpio_set_pin_output(DISCHARGE_PIN);
|
||||
|
||||
// set analog reference
|
||||
analogReference(ADC_REF_POWER);
|
||||
|
|
@ -99,7 +99,7 @@ void ec_init(ec_config_t const* const ec_config) {
|
|||
init_mux_sel();
|
||||
|
||||
// set discharge pin to charge mode
|
||||
setPinInput(DISCHARGE_PIN);
|
||||
gpio_set_pin_input(DISCHARGE_PIN);
|
||||
}
|
||||
|
||||
uint16_t ec_readkey_raw(uint8_t col, uint8_t row) {
|
||||
|
|
|
|||
54
keyboards/viktus/tx_roundup_pad/keyboard.json
Normal file
54
keyboards/viktus/tx_roundup_pad/keyboard.json
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"manufacturer": "Viktus Design LLC",
|
||||
"keyboard_name": "TX Roundup Pad",
|
||||
"maintainer": "BlindAssassin111",
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"development_board": "promicro",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F7", "F6", "F5", "F4"],
|
||||
"rows": ["B5", "B4", "E6", "D7", "C6", "D4"]
|
||||
},
|
||||
"url": "https://viktus.design",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x5458",
|
||||
"vid": "0x5644"
|
||||
},
|
||||
"community_layouts": [ "numpad_6x4" ],
|
||||
"layouts": {
|
||||
"LAYOUT_numpad_6x4": {
|
||||
"layout": [
|
||||
{"label": "K00", "matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"label": "K01", "matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"label": "K02", "matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"label": "K03", "matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"label": "K10", "matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"label": "K11", "matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"label": "K12", "matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"label": "K13", "matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"label": "K20", "matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"label": "K21", "matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"label": "K22", "matrix": [2, 2], "x": 2, "y": 2},
|
||||
{"label": "K30", "matrix": [3, 0], "x": 0, "y": 3},
|
||||
{"label": "K31", "matrix": [3, 1], "x": 1, "y": 3},
|
||||
{"label": "K32", "matrix": [3, 2], "x": 2, "y": 3},
|
||||
{"label": "K23", "matrix": [2, 3], "x": 3, "y": 2, "h": 2},
|
||||
{"label": "K40", "matrix": [4, 0], "x": 0, "y": 4},
|
||||
{"label": "K41", "matrix": [4, 1], "x": 1, "y": 4},
|
||||
{"label": "K42", "matrix": [4, 2], "x": 2, "y": 4},
|
||||
{"label": "K51", "matrix": [5, 1], "x": 0, "y": 5, "w": 2},
|
||||
{"label": "K52", "matrix": [5, 2], "x": 2, "y": 5},
|
||||
{"label": "K53", "matrix": [5, 3], "x": 3, "y": 4, "h": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
28
keyboards/viktus/tx_roundup_pad/keymaps/default/keymap.c
Normal file
28
keyboards/viktus/tx_roundup_pad/keymaps/default/keymap.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* Copyright 2024 Viktus Design LLC
|
||||
*
|
||||
* 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 QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_numpad_6x4(
|
||||
KC_F1, KC_F2, KC_F3, KC_F4,
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9,
|
||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P0, KC_PDOT, KC_PENT
|
||||
)
|
||||
};
|
||||
28
keyboards/viktus/tx_roundup_pad/keymaps/via/keymap.c
Normal file
28
keyboards/viktus/tx_roundup_pad/keymaps/via/keymap.c
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* Copyright 2024 Viktus Design LLC
|
||||
*
|
||||
* 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 QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT_numpad_6x4(
|
||||
KC_F1, KC_F2, KC_F3, KC_F4,
|
||||
KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_P7, KC_P8, KC_P9,
|
||||
KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_P1, KC_P2, KC_P3,
|
||||
KC_P0, KC_PDOT, KC_PENT
|
||||
)
|
||||
};
|
||||
1
keyboards/viktus/tx_roundup_pad/keymaps/via/rules.mk
Normal file
1
keyboards/viktus/tx_roundup_pad/keymaps/via/rules.mk
Normal file
|
|
@ -0,0 +1 @@
|
|||
VIA_ENABLE = yes
|
||||
27
keyboards/viktus/tx_roundup_pad/readme.md
Normal file
27
keyboards/viktus/tx_roundup_pad/readme.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# TX Roundup Pad
|
||||
|
||||

|
||||
|
||||
The PCB badge for the April 27, 2024 Texas Roundup meet in Dallas, Tx.
|
||||
|
||||
- Keyboard Maintainer: BlindAssassin111
|
||||
- Hardware Supported: TX Roundup Pad Badge PCB
|
||||
- Hardware Availability: At meetup only
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make viktus/tx_roundup_pad:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make viktus/tx_roundup_pad:default:flash
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
|
@ -9,6 +9,20 @@
|
|||
"device_version": "0.0.1",
|
||||
"force_nkro": true
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"qmk": {
|
||||
"locking": {
|
||||
"enabled": true,
|
||||
"resync": true
|
||||
}
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D7", "E0", "C7", "C6", "C5", "C4", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"],
|
||||
"rows": ["C3", "C2", "C1", "C0", "E1"]
|
||||
|
|
@ -26,7 +26,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
_______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
),
|
||||
|
||||
[1] = LAYOUT_z150_tkl(
|
||||
_______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
AUDIO_ENABLE = no
|
||||
RGBLIGHT_ENABLE = no
|
||||
Loading…
Add table
Add a link
Reference in a new issue