mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
format files, use keyboard.json, and remove some redundant settings
This commit is contained in:
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -18,8 +18,7 @@
|
||||
"xstddef": "c",
|
||||
"type_traits": "c",
|
||||
"utility": "c",
|
||||
"ranges": "c",
|
||||
"cstdint": "c"
|
||||
"ranges": "c"
|
||||
},
|
||||
"[markdown]": {
|
||||
"editor.trimAutoWhitespace": false,
|
||||
|
||||
@@ -4,10 +4,9 @@
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0x4D4C"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,3 @@
|
||||
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
|
||||
#define SERIAL_USART_TX_PIN GP0 // USART TX pin
|
||||
#define SERIAL_USART_RX_PIN GP1 // USART RX pin
|
||||
|
||||
// possibly fix KB not working at boot time
|
||||
#define SPLIT_USB_TIMEOUT 4000
|
||||
#define SPLIT_USB_TIMEOUT_POLL 10
|
||||
|
||||
@@ -1,43 +1,34 @@
|
||||
{
|
||||
"keyboard_name": "mjolnir/v1",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"nkro": true,
|
||||
"mousekey": true,
|
||||
"encoder": true,
|
||||
"console": true,
|
||||
"debug": true
|
||||
},
|
||||
"dynamic_keymap": {
|
||||
"layer_count": 6
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "GP28", "pin_b": "GP27"}
|
||||
{"pin_a": "GP28", "pin_b": "GP27"}
|
||||
]
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"encoder": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"rows": ["GP12", "GP13", "GP14", "GP15", "GP16", "GP26"],
|
||||
"cols": ["GP4", "GP5", "GP6", "GP7", "GP8", "GP9", "GP11", null, "GP15", "GP21", "GP29"]
|
||||
"cols": ["GP4", "GP5", "GP6", "GP7", "GP8", "GP9", "GP11", null, "GP15", "GP21", "GP29"],
|
||||
"rows": ["GP12", "GP13", "GP14", "GP15", "GP16", "GP26"]
|
||||
},
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"serial": {
|
||||
"driver": "vendor"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"rows": ["GP12", "GP13", "GP14", "GP15", "GP16", "GP26"],
|
||||
"cols": ["GP11", "GP9", "GP8", "GP7", "GP6", "GP5", "GP4", "GP10", "GP15", "GP21", "GP29"]
|
||||
"cols": ["GP11", "GP9", "GP8", "GP7", "GP6", "GP5", "GP4", "GP10", "GP15", "GP21", "GP29"],
|
||||
"rows": ["GP12", "GP13", "GP14", "GP15", "GP16", "GP26"]
|
||||
}
|
||||
},
|
||||
"encoder": {
|
||||
"right": {
|
||||
"rotary": [
|
||||
{"pin_a": "GP28", "pin_b": "GP27"}
|
||||
]
|
||||
}
|
||||
"serial": {
|
||||
"driver": "vendor"
|
||||
}
|
||||
},
|
||||
"layouts": {
|
||||
@@ -56,8 +47,6 @@
|
||||
{"matrix": [6, 4], "x": 14, "y": 6.1},
|
||||
{"matrix": [6, 5], "x": 15, "y": 6.2},
|
||||
{"matrix": [6, 6], "x": 16, "y": 6.2},
|
||||
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 5.1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 5},
|
||||
{"matrix": [1, 2], "x": 2, "y": 5.1},
|
||||
@@ -73,8 +62,6 @@
|
||||
{"matrix": [7, 5], "x": 15, "y": 5.3},
|
||||
{"matrix": [7, 6], "x": 16, "y": 5.3},
|
||||
{"matrix": [7, 7], "x": 17, "y": 5.3},
|
||||
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 4.1},
|
||||
{"matrix": [2, 1], "x": 1, "y": 4},
|
||||
{"matrix": [2, 2], "x": 2, "y": 4.1},
|
||||
@@ -90,8 +77,6 @@
|
||||
{"matrix": [8, 5], "x": 15, "y": 4.3},
|
||||
{"matrix": [8, 6], "x": 16, "y": 4.3},
|
||||
{"matrix": [8, 7], "x": 17, "y": 4.3},
|
||||
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.1},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.1},
|
||||
@@ -105,8 +90,6 @@
|
||||
{"matrix": [9, 5], "x": 15, "y": 3.3},
|
||||
{"matrix": [9, 6], "x": 16, "y": 3.3},
|
||||
{"matrix": [9, 7], "x": 17, "y": 3.3},
|
||||
|
||||
|
||||
{"matrix": [4, 1], "x": 1, "y": 2.1},
|
||||
{"matrix": [4, 2], "x": 2, "y": 2.1},
|
||||
{"matrix": [4, 3], "x": 3, "y": 2.3},
|
||||
@@ -117,23 +100,16 @@
|
||||
{"matrix": [10, 5], "x": 15, "y": 2.3},
|
||||
{"matrix": [10, 6], "x": 16, "y": 2.3},
|
||||
{"matrix": [10, 7], "x": 17, "y": 2.3},
|
||||
|
||||
|
||||
{"matrix": [6, 9], "x": 18, "y": 2.3},
|
||||
|
||||
|
||||
{"matrix": [3, 6], "x": 14, "y": 1},
|
||||
{"matrix": [9, 0], "x": 24, "y": 1},
|
||||
|
||||
{"matrix": [4, 8], "x": 13, "y": 0},
|
||||
{"matrix": [4, 5], "x": 14, "y": 0},
|
||||
{"matrix": [4, 6], "x": 15, "y": 0},
|
||||
{"matrix": [3, 6], "x": 14, "y": 1},
|
||||
{"matrix": [9, 0], "x": 24, "y": 1},
|
||||
{"matrix": [4, 8], "x": 13, "y": 0},
|
||||
{"matrix": [4, 5], "x": 14, "y": 0},
|
||||
{"matrix": [4, 6], "x": 15, "y": 0},
|
||||
{"matrix": [10, 0], "x": 25, "y": 0},
|
||||
{"matrix": [10, 1], "x": 24, "y": 0},
|
||||
{"matrix": [10, 8], "x": 23, "y": 0},
|
||||
|
||||
|
||||
{"matrix": [5, 10], "x": 20, "y": 0},
|
||||
{"matrix": [5, 10], "x": 20, "y": 0},
|
||||
{"matrix": [11, 10], "x": 30, "y": 0}
|
||||
]
|
||||
}
|
||||
@@ -1,2 +1,23 @@
|
||||
# Mjolnir V1
|
||||
It is a split keyboard. Made by MLiivak et al for our own use.
|
||||
|
||||

|
||||
|
||||
A split keyboard for personal use.
|
||||
|
||||
* Keyboard Maintainer: [Martin Liivak](https://github.com/martinliivak)
|
||||
|
||||
TODO finish this section:
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make %KEYBOARD%:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make %KEYBOARD%: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:
|
||||
* **Physical reset button**: Briefly press the reset button on the back of the MCU
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#CUSTOM_MATRIX = lite
|
||||
#SRC += encoder.c
|
||||
#SRC += matrix.c
|
||||
Reference in New Issue
Block a user