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
Binary file added hackpads/osu-keyboard/CAD/Kailh Polia v1.f3d
Binary file not shown.
19,109 changes: 19,109 additions & 0 deletions hackpads/osu-keyboard/CAD/entire-case v2.step

Large diffs are not rendered by default.

Binary file added hackpads/osu-keyboard/CAD/entire-case v3.stl
Binary file not shown.
13 changes: 13 additions & 0 deletions hackpads/osu-keyboard/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
very simple osu keypad made by yours truly

![alt text](image.png)
![alt text](image-1.png)
![alt text](image-2.png)
![alt text](entire-case_2025-Apr-12_07-51-38AM-000_CustomizedView19309613076.png)

BOM:
3 keyswitches
1x XIAO RP2040
3x Cherry mx yellow switches
4x M3x16 Bolt
4x M3 Heatset
32 changes: 32 additions & 0 deletions hackpads/osu-keyboard/firmware/osu-keyboard.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# You import all the IOs of your board
import board

# These are imports from the kmk library
from kmk.kmk_keyboard import KMKKeyboard
from kmk.scanners.keypad import KeysScanner
from kmk.keys import KC
from kmk.modules.macros import Press, Release, Tap, Macros

# This is the main instance of your keyboard
keyboard = KMKKeyboard()


# Define your pins here!
PINS = [board.D8, board.D9, board.D10, board.D5]

# Tell kmk we are not using a key matrix
keyboard.matrix = KeysScanner(
pins=PINS,
value_when_pressed=False,
)

# Here you define the buttons corresponding to the pins
# Look here for keycodes: https://github.com/KMKfw/kmk_firmware/blob/main/docs/en/keycodes.md
# And here for macros: https://github.com/KMKfw/kmk_firmware/blob/main/docs/en/macros.md
keyboard.keymap = [
[KC.A, KC.S, KC.D]
]

# Start kmk!
if __name__ == '__main__':
keyboard.go()
Binary file added hackpads/osu-keyboard/image-1.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/osu-keyboard/image-2.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/osu-keyboard/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading