mirror of
https://github.com/System-End/hackpad.git
synced 2026-04-19 22:15:14 +00:00
adding all my stuff
This commit is contained in:
parent
114036a06e
commit
53800a741c
9 changed files with 137 additions and 0 deletions
9
hackpads/SpacePad_Submission/BOM.md.txt
Normal file
9
hackpads/SpacePad_Submission/BOM.md.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
BOM materials:
|
||||
- 12x Cherry MX Switches
|
||||
- 12x through hole 1N4148 Diodes
|
||||
- 1x SEEED Studio XIAO RP2040
|
||||
- 1x PCB
|
||||
- 3d case (whole case black, the "spacepad" text is blue)
|
||||
- 4x M3 screw
|
||||
|
||||
Note: please solderate it
|
||||
BIN
hackpads/SpacePad_Submission/CAD/spacepad_model.stl
Normal file
BIN
hackpads/SpacePad_Submission/CAD/spacepad_model.stl
Normal file
Binary file not shown.
|
|
@ -0,0 +1,32 @@
|
|||
/* Copyright 2024 Sprext
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
// Define the number of rows and columns
|
||||
#define MATRIX_ROWS 3
|
||||
#define MATRIX_COLS 4
|
||||
|
||||
// Debounce time (in milliseconds)
|
||||
#define DEBOUNCE 5
|
||||
|
||||
// USB polling rate (default is 1ms)
|
||||
#define USB_POLLING_INTERVAL_MS 1
|
||||
|
||||
// Define other features as needed
|
||||
|
||||
|
||||
#include "quantum.h" // Or QMK_KEYBOARD_H if needed
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"manufacturer": "Sprext",
|
||||
"keyboard_name": "hackpad_firmware",
|
||||
"maintainer": "CodrOfTheFuture",
|
||||
"bootloader": "rp2040",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP26", "GP27", "GP28", "GP29"],
|
||||
"rows": ["GP6", "GP7", "GP0"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"url": "hackpad.hackclub.com",
|
||||
"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}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
// Copyright 2023 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "config.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_7, KC_8, KC_9, KC_PMNS,
|
||||
KC_4, KC_5, KC_6, KC_PPLS,
|
||||
KC_1, KC_2, KC_3, KC_PENT
|
||||
)
|
||||
};
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
# spacepad_firmware
|
||||
|
||||

|
||||
|
||||
*A short description of the keyboard/project*
|
||||
|
||||
* Keyboard Maintainer: [Sprext](https://github.com/CodrOfTheFuture)
|
||||
* 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 spacepad_firmware:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make spacepad_firmware: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
|
||||
|
|
@ -0,0 +1 @@
|
|||
LTO_ENABLED = yes
|
||||
BIN
hackpads/SpacePad_Submission/PCB/Hackclub_gerber.zip
Normal file
BIN
hackpads/SpacePad_Submission/PCB/Hackclub_gerber.zip
Normal file
Binary file not shown.
8
hackpads/SpacePad_Submission/README.md.txt
Normal file
8
hackpads/SpacePad_Submission/README.md.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
Inspiration:
|
||||
I wanted to go out of my comfort zone and make something which I had 0 experience with. I also wanted a free keyboard lol.
|
||||
|
||||
Hardest Challenge:
|
||||
Firmware, very had.
|
||||
|
||||
Facts:
|
||||
I called it spacepad because everything in my ecosystem has the word space in it lol.
|
||||
Loading…
Add table
Reference in a new issue