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
2,422 changes: 2,422 additions & 0 deletions hackpads/v1perkeebs/CAD/v1perkeeb topsection v2.step

Large diffs are not rendered by default.

1,625 changes: 1,625 additions & 0 deletions hackpads/v1perkeebs/CAD/v1perkeeb v4.step

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions hackpads/v1perkeebs/Firmware/v1perkeeb.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import board
from kmk.kmk_keyboard import KMKKeyboard
from kmk.keys import KC
from kmk.handlers.sequences import simple_key_sequence
from kmk.scanners.keypad import KeysScanner

PINS = [
board.GP0,
board.GP1,
board.GP2,
board.GP3,
board.GP4,
board.GP7,
]

v1perkeeb = KMKKeyboard()
v1perkeeb.matrix = KeysScanner(
pins=PINS,
value_when_pressed=False,
)

open_cursor = simple_key_sequence([KC.LGUI(KC.R),
KC.MACRO_SLEEP_MS(100),
'"C:\Users\louis\Desktop\Cursor.lnk"'
])
open_arc = simple_key_sequence([KC.LGUI(KC.R),
KC.MACRO_SLEEP_MS(100),
'"C:\Users\louis\Desktop\Arc.lnk"'
])
open_spotify = simple_key_sequence([KC.LGUI(KC.R),
KC.MACRO_SLEEP_MS(100),
'"C:\Users\louis\Desktop\Spotify.lnk"'
])

v1perkeeb.keymap = [
[open_cursor, open_arc, KC.LCTL(KC.C), KC.LCTL(
KC.V), open_spotify, KC.MEDIA_PLAY_PAUSE]
]

if __name__ == '__main__':
v1perkeeb.go()
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
(footprint "SW_Cherry_MX_1.00u_PCB"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Cherry MX keyswitch, 1.00u, PCB mount, http://cherryamericas.com/wp-content/uploads/2014/12/mx_cat.pdf")
(tags "Cherry MX keyswitch 1.00u PCB")
(property "Reference" "REF**"
(at -2.54 -2.794 0)
(layer "F.SilkS")
(uuid "c03327f2-012e-4fbf-80a8-a7d4b49f6df2")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "SW_Cherry_MX_1.00u_PCB"
(at -2.54 12.954 0)
(layer "F.Fab")
(uuid "729da0de-a38f-4970-a9aa-b4dc70f92f16")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "acaa596e-914d-4cd8-ab3a-52e2a0d3f270")
(effects
(font
(size 1.27 1.27)
(thickness 0.15)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "0037b9f5-583a-41f5-9b90-1b725631a7a1")
(effects
(font
(size 1.27 1.27)
(thickness 0.15)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "482871a4-3f1f-46ca-bcff-19c31bbdd9f3")
(effects
(font
(size 1.27 1.27)
(thickness 0.15)
)
)
)
(attr through_hole)
(fp_line
(start -9.525 -1.905)
(end 4.445 -1.905)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "f2eeb289-74f8-46da-801f-0aafb6af9995")
)
(fp_line
(start -9.525 12.065)
(end -9.525 -1.905)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "4f02a351-9568-48f2-b04f-076667160b2f")
)
(fp_line
(start 4.445 -1.905)
(end 4.445 12.065)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "2251a3c2-fb48-4ef6-9776-e36c07a3aa92")
)
(fp_line
(start 4.445 12.065)
(end -9.525 12.065)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "b287663f-61be-4819-9523-1331a964301e")
)
(fp_line
(start -12.065 -4.445)
(end 6.985 -4.445)
(stroke
(width 0.15)
(type solid)
)
(layer "Dwgs.User")
(uuid "e73067c5-0bf4-4f44-be33-c28f7b06adae")
)
(fp_line
(start -12.065 14.605)
(end -12.065 -4.445)
(stroke
(width 0.15)
(type solid)
)
(layer "Dwgs.User")
(uuid "17a37dc2-1fc7-4198-bc2d-40147f9021f4")
)
(fp_line
(start 6.985 -4.445)
(end 6.985 14.605)
(stroke
(width 0.15)
(type solid)
)
(layer "Dwgs.User")
(uuid "707f604a-7f3f-405f-8b89-2e17dbf94ec1")
)
(fp_line
(start 6.985 14.605)
(end -12.065 14.605)
(stroke
(width 0.15)
(type solid)
)
(layer "Dwgs.User")
(uuid "68ba3686-54f3-42b1-847b-d7576a207bac")
)
(fp_line
(start -9.14 -1.52)
(end 4.06 -1.52)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "3a139f5a-3d7f-49bd-b57b-3b3b63bd6f5a")
)
(fp_line
(start -9.14 11.68)
(end -9.14 -1.52)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "9d9006b1-c0da-4488-b6c4-3bf750600acd")
)
(fp_line
(start 4.06 -1.52)
(end 4.06 11.68)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "12a34f16-8b02-4a16-8e95-de8109927f8a")
)
(fp_line
(start 4.06 11.68)
(end -9.14 11.68)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "cb893612-c825-49d3-b7ba-e7e76ca792b9")
)
(fp_line
(start -8.89 -1.27)
(end 3.81 -1.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "101f121f-d715-41de-b65e-0eb643435073")
)
(fp_line
(start -8.89 11.43)
(end -8.89 -1.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "ef533fc2-b06e-4fb0-bad6-5831fe8240f6")
)
(fp_line
(start 3.81 -1.27)
(end 3.81 11.43)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "31ba89c8-dd03-4cdd-9ba7-3f7d0aded6a1")
)
(fp_line
(start 3.81 11.43)
(end -8.89 11.43)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "800336e4-24a6-46ec-9023-c027ab2f3d06")
)
(fp_text user "${REFERENCE}"
(at -2.54 -2.794 0)
(layer "F.Fab")
(uuid "40dd7085-da12-41b9-b892-bfa7bf4f1386")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(pad "" np_thru_hole circle
(at -7.62 5.08)
(size 1.7 1.7)
(drill 1.7)
(layers "*.Cu" "*.Mask")
(uuid "b86d769f-f008-4ebc-81df-18e41ab52916")
)
(pad "" np_thru_hole circle
(at -2.54 5.08)
(size 4 4)
(drill 4)
(layers "*.Cu" "*.Mask")
(uuid "73765e79-092c-47ba-8638-124dd80e461f")
)
(pad "" np_thru_hole circle
(at 2.54 5.08)
(size 1.7 1.7)
(drill 1.7)
(layers "*.Cu" "*.Mask")
(uuid "c335d4df-5e73-4f97-a7a9-cdd4823bfe9d")
)
(pad "1" thru_hole circle
(at 0 0)
(size 2.2 2.2)
(drill 1.5)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "95f28955-d4ce-4605-8aac-5b414b25ef4e")
)
(pad "2" thru_hole circle
(at -6.35 2.54)
(size 2.2 2.2)
(drill 1.5)
(layers "*.Cu" "*.Mask")
(remove_unused_layers no)
(uuid "9d507696-ddb2-4a94-b63a-54a69e85b238")
)
(model "C:/Users/louis/Downloads/SW_Cherry_MX_PCB.stp"
(offset
(xyz -2.5 -5 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)
Loading