added via support

pull/24105/head
Linus Nibell 2024-02-06 09:38:52 +01:00
parent f15069a55e
commit 2edcf87e89
8 changed files with 27 additions and 107 deletions

View File

@ -20,8 +20,8 @@
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
"vid": "0x4C4E",
"pid": "0xFEED"
},
"layouts": {
"LAYOUT_ortho_4x4": {

View File

@ -0,0 +1,24 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* F1 F2 F3 F4
*
* F5 F6 F7 F8
*
* 1 2 3 4
*
* PRTSC INS RSHIFT RCTRL
*
*/
[0] = LAYOUT_ortho_4x4(
KC_F1, KC_F2, KC_F3, KC_F4,
KC_F5, KC_F6, KC_F7, KC_F8,
KC_1, KC_2, KC_3, KC_4,
KC_PRINT_SCREEN, KC_INSERT, KC_RIGHT_SHIFT, KC_RIGHT_CTRL
)
};

View File

@ -0,0 +1 @@
VIA_ENABLE = yes

View File

@ -1,20 +0,0 @@
// Copyright 2023 nibell (@nibell)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
/*
* 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

View File

@ -1,39 +0,0 @@
{
"manufacturer": "nibell",
"keyboard_name": "nibell/mpad6",
"maintainer": "nibell",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP12", "GP11", "GP10"],
"rows": ["GP4", "GP5"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"community_layouts": ["ortho_2x3"],
"layouts": {
"LAYOUT_ortho_2x3": {
"layout": [
{"x": 0, "y": 0, "matrix": [0, 0]},
{"x": 1, "y": 0, "matrix": [0, 1]},
{"x": 2, "y": 0, "matrix": [0, 2]},
{"x": 0, "y": 1, "matrix": [1, 0]},
{"x": 1, "y": 1, "matrix": [1, 1]},
{"x": 2, "y": 1, "matrix": [1, 2]}
]
}
}
}

View File

@ -1,18 +0,0 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* 1 2 3
*
* 4 RSHIFT RCTRL
*
*/
[0] = LAYOUT_ortho_2x3(
KC_1, KC_2, KC_3,
KC_4, KC_RIGHT_SHIFT, KC_RIGHT_CTRL
)
};

View File

@ -1,27 +0,0 @@
# nibell/mpad6
![nibell/mpad6](imgur.com image replace me!)
*A short description of the keyboard/project*
* Keyboard Maintainer: [nibell](https://github.com/nibell)
* Hardware Supported: *The PCBs, controllers supported*
* Hardware Availability: *Links to where you can find this hardware*
Make example for this keyboard (after setting up your build environment):
make nibell/mpad6:default
Flashing example for this keyboard:
make nibell/mpad6: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

View File

@ -1 +0,0 @@
# This file intentionally left blank