Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions hackpads/tony-forgePad/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
XIAO RP 2040 (x1)
Gateron Milky Yellow Switches (x12)
Through-hole 1N4148 Diodes (x12)
128x32 0.91 OLED Display (x1)
Binary file not shown.
Binary file added hackpads/tony-forgePad/cad/blender/case-top.blend
Binary file not shown.
Binary file added hackpads/tony-forgePad/cad/blender/case.blend
Binary file not shown.
Binary file added hackpads/tony-forgePad/cad/case-bottom.stl
Binary file not shown.
Binary file added hackpads/tony-forgePad/cad/case-top.stl
Binary file not shown.
Binary file added hackpads/tony-forgePad/cad/case.stl
Binary file not shown.
Binary file added hackpads/tony-forgePad/cad/images/bottom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hackpads/tony-forgePad/cad/images/case.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added hackpads/tony-forgePad/cad/images/top.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions hackpads/tony-forgePad/firmware/forgepad/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

{
"manufacturer": "Tony",
"keyboard_name": "forgepad",
"maintainer": "Tony",
"bootloader": "rp2040",
"diode_direction": "ROW2COL",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins":{
"rows":["GP29","GP28","GP27"],
"cols":["GP1","GP2","GP4","GP3"]
},
"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}
]
}
}
}
37 changes: 37 additions & 0 deletions hackpads/tony-forgePad/firmware/forgepad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H
#ifdef OLED_ENABLE
static void render_logo(void) {
static const char PROGMEM qmk_logo[] = {
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x92, 0x93, 0x94,
0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4,
0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0x00
};

oled_write_P(qmk_logo, false);
}

bool oled_task_user(void) {
render_logo();
return false;
}
#endif

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┬───┐
* │ 7 │ 8 │ 9 │ 0 │
* ├───┼───┼───┼───┤
* │ 4 │ 5 │ 6 │ . │
* ├───┼───┼───┼───┤
* │ 1 │ 2 │ 3 │Ent│
* └───┴───┴───┴───┘
*/
[0] = LAYOUT(
KC_P7, KC_P8, KC_P9, KC_P0,
KC_P4, KC_P5, KC_P6, KC_PDOT,
KC_P1, KC_P2, KC_P3, KC_PENT
)
};
27 changes: 27 additions & 0 deletions hackpads/tony-forgePad/firmware/forgepad/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# forgepad

![forgepad](imgur.com image replace me!)

*A short description of the keyboard/project*

* Keyboard Maintainer: [Tony](https://github.com/Tony)
* 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 forgepad:default

Flashing example for this keyboard:

make forgepad: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
3 changes: 3 additions & 0 deletions hackpads/tony-forgePad/firmware/forgepad/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
OLED_ENABLE = yes
OLED_DRIVER = ssd1306
OLED_TRANSPORT = i2c
Binary file not shown.
Binary file added hackpads/tony-forgePad/pcb/gerber.zip
Binary file not shown.
Loading