mirror of
https://github.com/System-End/hackpad.git
synced 2026-04-20 00:35:24 +00:00
fix firmware
I had qmk home in my hack pad folder and so I had to remove everything but the actual keyboard for it to work properly
This commit is contained in:
parent
750f5a36bf
commit
1e3ff0ead0
4 changed files with 62 additions and 0 deletions
3
hackpads/bear_pad/firmware/config.h
Normal file
3
hackpads/bear_pad/firmware/config.h
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#define ENCODER_A_PINS { GP26, GP3 }
|
||||
|
||||
#define ENCODER_RESOLUTION 4
|
||||
46
hackpads/bear_pad/firmware/keyboard.json
Normal file
46
hackpads/bear_pad/firmware/keyboard.json
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{
|
||||
"manufacturer": "Bear Tyree",
|
||||
"keyboard_name": "bear_pad",
|
||||
"maintainer": "BearTyree",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP0", "GP1", "GP2", "GP4"],
|
||||
"rows": ["GP29", "GP28", "GP27"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0000",
|
||||
"vid": "0xFEED"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "matrix": [0, 0], "x": 0, "y": 0 },
|
||||
{ "matrix": [0, 1], "x": 1, "y": 0 },
|
||||
{ "matrix": [0, 2], "x": 2, "y": 0 },
|
||||
{ "matrix": [0, 3], "x": 3, "y": 0 },
|
||||
|
||||
{ "matrix": [1, 0], "x": 0, "y": 1 },
|
||||
{ "matrix": [1, 1], "x": 1, "y": 1 },
|
||||
{ "matrix": [1, 2], "x": 2, "y": 1 },
|
||||
{ "matrix": [1, 3], "x": 3, "y": 1 },
|
||||
|
||||
{ "matrix": [2, 0], "x": 0, "y": 2 },
|
||||
{ "matrix": [2, 1], "x": 1, "y": 2 },
|
||||
{ "matrix": [2, 2], "x": 2, "y": 2 },
|
||||
{ "matrix": [2, 3], "x": 3, "y": 2 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
9
hackpads/bear_pad/firmware/keymaps/default/keymap.c
Normal file
9
hackpads/bear_pad/firmware/keymaps/default/keymap.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_A, KC_B, KC_D, KC_E,
|
||||
KC_F, KC_G, KC_H, KC_I,
|
||||
KC_J, KC_K, KC_L, KC_M
|
||||
)
|
||||
};
|
||||
4
hackpads/bear_pad/firmware/rules.mk
Normal file
4
hackpads/bear_pad/firmware/rules.mk
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ENCODER_ENABLE = yes
|
||||
|
||||
# required for rp2040
|
||||
LTO_ENABLE = yes
|
||||
Loading…
Add table
Reference in a new issue