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:
BearTyree 2024-10-21 23:11:27 -04:00
parent 750f5a36bf
commit 1e3ff0ead0
4 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#define ENCODER_A_PINS { GP26, GP3 }
#define ENCODER_RESOLUTION 4

View 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 }
]
}
}
}

View 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
)
};

View file

@ -0,0 +1,4 @@
ENCODER_ENABLE = yes
# required for rp2040
LTO_ENABLE = yes