Skip to content

Commit ce87018

Browse files
Merge pull request #548 from v1peridae/main
Lou's Keeb
2 parents 0e65604 + 1bed65a commit ce87018

20 files changed

+217091
-0
lines changed

hackpads/v1perkeebs/CAD/v1perkeeb topsection v2.step

Lines changed: 2422 additions & 0 deletions
Large diffs are not rendered by default.

hackpads/v1perkeebs/CAD/v1perkeeb v4.step

Lines changed: 1625 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
import board
2+
from kmk.kmk_keyboard import KMKKeyboard
3+
from kmk.keys import KC
4+
from kmk.handlers.sequences import simple_key_sequence
5+
from kmk.scanners.keypad import KeysScanner
6+
7+
PINS = [
8+
board.GP0,
9+
board.GP1,
10+
board.GP2,
11+
board.GP3,
12+
board.GP4,
13+
board.GP7,
14+
]
15+
16+
v1perkeeb = KMKKeyboard()
17+
v1perkeeb.matrix = KeysScanner(
18+
pins=PINS,
19+
value_when_pressed=False,
20+
)
21+
22+
open_cursor = simple_key_sequence([KC.LGUI(KC.R),
23+
KC.MACRO_SLEEP_MS(100),
24+
'"C:\Users\louis\Desktop\Cursor.lnk"'
25+
])
26+
open_arc = simple_key_sequence([KC.LGUI(KC.R),
27+
KC.MACRO_SLEEP_MS(100),
28+
'"C:\Users\louis\Desktop\Arc.lnk"'
29+
])
30+
open_spotify = simple_key_sequence([KC.LGUI(KC.R),
31+
KC.MACRO_SLEEP_MS(100),
32+
'"C:\Users\louis\Desktop\Spotify.lnk"'
33+
])
34+
35+
v1perkeeb.keymap = [
36+
[open_cursor, open_arc, KC.LCTL(KC.C), KC.LCTL(
37+
KC.V), open_spotify, KC.MEDIA_PLAY_PAUSE]
38+
]
39+
40+
if __name__ == '__main__':
41+
v1perkeeb.go()
Lines changed: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,289 @@
1+
(footprint "SW_Cherry_MX_1.00u_PCB"
2+
(version 20240108)
3+
(generator "pcbnew")
4+
(generator_version "8.0")
5+
(layer "F.Cu")
6+
(descr "Cherry MX keyswitch, 1.00u, PCB mount, http://cherryamericas.com/wp-content/uploads/2014/12/mx_cat.pdf")
7+
(tags "Cherry MX keyswitch 1.00u PCB")
8+
(property "Reference" "REF**"
9+
(at -2.54 -2.794 0)
10+
(layer "F.SilkS")
11+
(uuid "c03327f2-012e-4fbf-80a8-a7d4b49f6df2")
12+
(effects
13+
(font
14+
(size 1 1)
15+
(thickness 0.15)
16+
)
17+
)
18+
)
19+
(property "Value" "SW_Cherry_MX_1.00u_PCB"
20+
(at -2.54 12.954 0)
21+
(layer "F.Fab")
22+
(uuid "729da0de-a38f-4970-a9aa-b4dc70f92f16")
23+
(effects
24+
(font
25+
(size 1 1)
26+
(thickness 0.15)
27+
)
28+
)
29+
)
30+
(property "Footprint" ""
31+
(at 0 0 0)
32+
(unlocked yes)
33+
(layer "F.Fab")
34+
(hide yes)
35+
(uuid "acaa596e-914d-4cd8-ab3a-52e2a0d3f270")
36+
(effects
37+
(font
38+
(size 1.27 1.27)
39+
(thickness 0.15)
40+
)
41+
)
42+
)
43+
(property "Datasheet" ""
44+
(at 0 0 0)
45+
(unlocked yes)
46+
(layer "F.Fab")
47+
(hide yes)
48+
(uuid "0037b9f5-583a-41f5-9b90-1b725631a7a1")
49+
(effects
50+
(font
51+
(size 1.27 1.27)
52+
(thickness 0.15)
53+
)
54+
)
55+
)
56+
(property "Description" ""
57+
(at 0 0 0)
58+
(unlocked yes)
59+
(layer "F.Fab")
60+
(hide yes)
61+
(uuid "482871a4-3f1f-46ca-bcff-19c31bbdd9f3")
62+
(effects
63+
(font
64+
(size 1.27 1.27)
65+
(thickness 0.15)
66+
)
67+
)
68+
)
69+
(attr through_hole)
70+
(fp_line
71+
(start -9.525 -1.905)
72+
(end 4.445 -1.905)
73+
(stroke
74+
(width 0.12)
75+
(type solid)
76+
)
77+
(layer "F.SilkS")
78+
(uuid "f2eeb289-74f8-46da-801f-0aafb6af9995")
79+
)
80+
(fp_line
81+
(start -9.525 12.065)
82+
(end -9.525 -1.905)
83+
(stroke
84+
(width 0.12)
85+
(type solid)
86+
)
87+
(layer "F.SilkS")
88+
(uuid "4f02a351-9568-48f2-b04f-076667160b2f")
89+
)
90+
(fp_line
91+
(start 4.445 -1.905)
92+
(end 4.445 12.065)
93+
(stroke
94+
(width 0.12)
95+
(type solid)
96+
)
97+
(layer "F.SilkS")
98+
(uuid "2251a3c2-fb48-4ef6-9776-e36c07a3aa92")
99+
)
100+
(fp_line
101+
(start 4.445 12.065)
102+
(end -9.525 12.065)
103+
(stroke
104+
(width 0.12)
105+
(type solid)
106+
)
107+
(layer "F.SilkS")
108+
(uuid "b287663f-61be-4819-9523-1331a964301e")
109+
)
110+
(fp_line
111+
(start -12.065 -4.445)
112+
(end 6.985 -4.445)
113+
(stroke
114+
(width 0.15)
115+
(type solid)
116+
)
117+
(layer "Dwgs.User")
118+
(uuid "e73067c5-0bf4-4f44-be33-c28f7b06adae")
119+
)
120+
(fp_line
121+
(start -12.065 14.605)
122+
(end -12.065 -4.445)
123+
(stroke
124+
(width 0.15)
125+
(type solid)
126+
)
127+
(layer "Dwgs.User")
128+
(uuid "17a37dc2-1fc7-4198-bc2d-40147f9021f4")
129+
)
130+
(fp_line
131+
(start 6.985 -4.445)
132+
(end 6.985 14.605)
133+
(stroke
134+
(width 0.15)
135+
(type solid)
136+
)
137+
(layer "Dwgs.User")
138+
(uuid "707f604a-7f3f-405f-8b89-2e17dbf94ec1")
139+
)
140+
(fp_line
141+
(start 6.985 14.605)
142+
(end -12.065 14.605)
143+
(stroke
144+
(width 0.15)
145+
(type solid)
146+
)
147+
(layer "Dwgs.User")
148+
(uuid "68ba3686-54f3-42b1-847b-d7576a207bac")
149+
)
150+
(fp_line
151+
(start -9.14 -1.52)
152+
(end 4.06 -1.52)
153+
(stroke
154+
(width 0.05)
155+
(type solid)
156+
)
157+
(layer "F.CrtYd")
158+
(uuid "3a139f5a-3d7f-49bd-b57b-3b3b63bd6f5a")
159+
)
160+
(fp_line
161+
(start -9.14 11.68)
162+
(end -9.14 -1.52)
163+
(stroke
164+
(width 0.05)
165+
(type solid)
166+
)
167+
(layer "F.CrtYd")
168+
(uuid "9d9006b1-c0da-4488-b6c4-3bf750600acd")
169+
)
170+
(fp_line
171+
(start 4.06 -1.52)
172+
(end 4.06 11.68)
173+
(stroke
174+
(width 0.05)
175+
(type solid)
176+
)
177+
(layer "F.CrtYd")
178+
(uuid "12a34f16-8b02-4a16-8e95-de8109927f8a")
179+
)
180+
(fp_line
181+
(start 4.06 11.68)
182+
(end -9.14 11.68)
183+
(stroke
184+
(width 0.05)
185+
(type solid)
186+
)
187+
(layer "F.CrtYd")
188+
(uuid "cb893612-c825-49d3-b7ba-e7e76ca792b9")
189+
)
190+
(fp_line
191+
(start -8.89 -1.27)
192+
(end 3.81 -1.27)
193+
(stroke
194+
(width 0.1)
195+
(type solid)
196+
)
197+
(layer "F.Fab")
198+
(uuid "101f121f-d715-41de-b65e-0eb643435073")
199+
)
200+
(fp_line
201+
(start -8.89 11.43)
202+
(end -8.89 -1.27)
203+
(stroke
204+
(width 0.1)
205+
(type solid)
206+
)
207+
(layer "F.Fab")
208+
(uuid "ef533fc2-b06e-4fb0-bad6-5831fe8240f6")
209+
)
210+
(fp_line
211+
(start 3.81 -1.27)
212+
(end 3.81 11.43)
213+
(stroke
214+
(width 0.1)
215+
(type solid)
216+
)
217+
(layer "F.Fab")
218+
(uuid "31ba89c8-dd03-4cdd-9ba7-3f7d0aded6a1")
219+
)
220+
(fp_line
221+
(start 3.81 11.43)
222+
(end -8.89 11.43)
223+
(stroke
224+
(width 0.1)
225+
(type solid)
226+
)
227+
(layer "F.Fab")
228+
(uuid "800336e4-24a6-46ec-9023-c027ab2f3d06")
229+
)
230+
(fp_text user "${REFERENCE}"
231+
(at -2.54 -2.794 0)
232+
(layer "F.Fab")
233+
(uuid "40dd7085-da12-41b9-b892-bfa7bf4f1386")
234+
(effects
235+
(font
236+
(size 1 1)
237+
(thickness 0.15)
238+
)
239+
)
240+
)
241+
(pad "" np_thru_hole circle
242+
(at -7.62 5.08)
243+
(size 1.7 1.7)
244+
(drill 1.7)
245+
(layers "*.Cu" "*.Mask")
246+
(uuid "b86d769f-f008-4ebc-81df-18e41ab52916")
247+
)
248+
(pad "" np_thru_hole circle
249+
(at -2.54 5.08)
250+
(size 4 4)
251+
(drill 4)
252+
(layers "*.Cu" "*.Mask")
253+
(uuid "73765e79-092c-47ba-8638-124dd80e461f")
254+
)
255+
(pad "" np_thru_hole circle
256+
(at 2.54 5.08)
257+
(size 1.7 1.7)
258+
(drill 1.7)
259+
(layers "*.Cu" "*.Mask")
260+
(uuid "c335d4df-5e73-4f97-a7a9-cdd4823bfe9d")
261+
)
262+
(pad "1" thru_hole circle
263+
(at 0 0)
264+
(size 2.2 2.2)
265+
(drill 1.5)
266+
(layers "*.Cu" "*.Mask")
267+
(remove_unused_layers no)
268+
(uuid "95f28955-d4ce-4605-8aac-5b414b25ef4e")
269+
)
270+
(pad "2" thru_hole circle
271+
(at -6.35 2.54)
272+
(size 2.2 2.2)
273+
(drill 1.5)
274+
(layers "*.Cu" "*.Mask")
275+
(remove_unused_layers no)
276+
(uuid "9d507696-ddb2-4a94-b63a-54a69e85b238")
277+
)
278+
(model "C:/Users/louis/Downloads/SW_Cherry_MX_PCB.stp"
279+
(offset
280+
(xyz -2.5 -5 0)
281+
)
282+
(scale
283+
(xyz 1 1 1)
284+
)
285+
(rotate
286+
(xyz 0 0 0)
287+
)
288+
)
289+
)

0 commit comments

Comments
 (0)