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
29 changes: 29 additions & 0 deletions hackpads/GamePad/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# GamePad

# BOM:
- 8x Gateron Milky Yellows Cherry MX Switches
- 1x EC11 Encoder
- 1x 3D printed knob
- 1x PCB (blue)
- 9x Through-hole 1N4148 Diodes
- 1x 0.96 inch OLED (SSD1306)
- 4x female header pins (Possibly optional depending on tolerances)
- 1x M3x12 SHCS
- 4x M3x16 SHCS
- 5x M3 threaded inserts
- 1x Laser cut acrylic plate
- 8x WS2812Bs (Read Notes)

# Aesthetics:
Ideally:
- `Top plate` would be a light blue (Prusament: Azure Blue)
- `Midlayer` would be a light blue (Prusament: Azure Blue)
- `Base plate` would be a dark blue (Prusament: Pearl/Navy Blue)
- `Volume Knob` would be a dark blue (Prusament: Pearl/Navy Blue)
- `Keycap plate` would be frosted (if not transparent)
- `M3 screws` would be hex head screws
- `OLED screen` would have a white screen, and if not then blue
- `PCB` would be blue

# Notes:
- For the WS2812Bs, I do not know how to solder these yet - but I am planning to learn and then build a v2 hackpad. However as I don't know how to currently, and the other components are THT, Having this hackpad soldered with the LEDs seperate would be ideal :)
387,348 changes: 387,348 additions & 0 deletions hackpads/GamePad/cad/GamePad.step

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions hackpads/GamePad/firmware/complex/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "complex"
version = "0.1.0"
edition = "2021"

[dependencies]
3 changes: 3 additions & 0 deletions hackpads/GamePad/firmware/complex/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
12 changes: 12 additions & 0 deletions hackpads/GamePad/firmware/rmk/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
linker = "flip-link"
runner = "probe-rs run --chip rp2040"
rustflags = []

[build]
# TODO: Pick a correct compilation target for your microcontroller
target = "thumbv6m-none-eabi"

[env]
# TODO: set DEFMT_LOG to "error" to reduce the binary size
DEFMT_LOG = "info"
6 changes: 6 additions & 0 deletions hackpads/GamePad/firmware/rmk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
target

*.bin
*.elf
*.hex

3 changes: 3 additions & 0 deletions hackpads/GamePad/firmware/rmk/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rust-analyzer.check.allTargets": false,
}
Loading