mirror of
https://github.com/System-End/hackpad.git
synced 2026-04-19 22:15:14 +00:00
Firmware
This commit is contained in:
parent
35fc4363b5
commit
78ef183fd5
6 changed files with 88 additions and 2 deletions
|
|
@ -1,2 +1,25 @@
|
|||
# Firmware
|
||||
QMK, no idea how it works, but it does i guess
|
||||
# funidogpad
|
||||
|
||||
*A short description of the keyboard/project*
|
||||
|
||||
* Keyboard Maintainer: [DevCmb](https://github.com/29cmb)
|
||||
* 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 funidogpad:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make funidogpad: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
|
||||
|
|
|
|||
BIN
hackpads/funidogpad/firmware/funidogpad_default.uf2
Normal file
BIN
hackpads/funidogpad/firmware/funidogpad_default.uf2
Normal file
Binary file not shown.
0
hackpads/funidogpad/firmware/info_config.h
Normal file
0
hackpads/funidogpad/firmware/info_config.h
Normal file
41
hackpads/funidogpad/firmware/keyboard.json
Normal file
41
hackpads/funidogpad/firmware/keyboard.json
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"manufacturer": "DevCmb",
|
||||
"keyboard_name": "funidogpad",
|
||||
"maintainer": "DevCmb",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP1", "GP0", "GP2"],
|
||||
"rows": ["GP7", "GP8", "GP9"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_3x3": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0},
|
||||
{"matrix": [1, 0], "x": 0, "y": 1},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1},
|
||||
{"matrix": [2, 0], "x": 0, "y": 2},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
21
hackpads/funidogpad/firmware/keymaps/default/keymap.c
Normal file
21
hackpads/funidogpad/firmware/keymaps/default/keymap.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┐
|
||||
* │ Q │ W │ E │
|
||||
* ├───┼───┼───┤
|
||||
* │ A │ S │ D │
|
||||
* ├───┼───┼───┤
|
||||
* │ 1 │ 2 │ 3 │
|
||||
* └───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_3x3(
|
||||
KC_Q, KC_W, KC_E,
|
||||
KC_A, KC_S, KC_D,
|
||||
KC_1, KC_2, KC_3
|
||||
)
|
||||
};
|
||||
1
hackpads/funidogpad/firmware/rules.mk
Normal file
1
hackpads/funidogpad/firmware/rules.mk
Normal file
|
|
@ -0,0 +1 @@
|
|||
LTO_ENABLE = yes
|
||||
Loading…
Add table
Reference in a new issue