Skip to content

Commit 0c59b9c

Browse files
committed
init
0 parents  commit 0c59b9c

8 files changed

Lines changed: 2415 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.stl

Arduino/OsuKeypad/OsuKeypad.ino

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#include <Keyboard.h>
2+
3+
int xPin = 2;
4+
int zPin= 3;
5+
6+
// Debouncing
7+
unsigned long xHitMicros = 0;
8+
unsigned long zHitMicros = 0;
9+
unsigned long debounceMicros = 50000;
10+
11+
12+
void setup() {
13+
pinMode(xPin, INPUT_PULLUP);
14+
pinMode(zPin, INPUT_PULLUP);
15+
16+
Keyboard.begin();
17+
}
18+
19+
void loop() {
20+
if (!digitalRead(xPin)){
21+
Keyboard.press('x');
22+
xHitMicros = micros();
23+
} else if (micros()-xHitMicros >= debounceMicros) {
24+
Keyboard.release('x');
25+
}
26+
27+
if (!digitalRead(zPin)){
28+
Keyboard.press('z');
29+
zHitMicros = micros();
30+
} else if (micros()-zHitMicros >= debounceMicros) {
31+
Keyboard.release('z');
32+
}
33+
}

CAD/osu_keypad.FCStd

91.4 KB
Binary file not shown.

CAD/osu_keypad.FCStd1

102 KB
Binary file not shown.

KeyV2/LICENSE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
KeyV2: Parametric Mechanical Keycap Library byrsheldiii is licensed under the Creative Commons - Attribution - Share Alike license.

KeyV2/customizer.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"parameterSets": {
3+
"design default values": {
4+
"$alps_stem": "[4.45, 2.25]",
5+
"$bottom_key_height": "18.16",
6+
"$bottom_key_width": "18.16",
7+
"$cherry_bevel": "true",
8+
"$clearance_check": "false",
9+
"$corner_radius": "1",
10+
"$dish_depth": "1",
11+
"$dish_overdraw_height": "0",
12+
"$dish_overdraw_width": "0",
13+
"$dish_skew_x": "0",
14+
"$dish_skew_y": "0",
15+
"$dish_type": "cylindrical",
16+
"$font": "DejaVu Sans Mono:style=Book",
17+
"$font_size": "6",
18+
"$height_difference": "4",
19+
"$height_slices": "1",
20+
"$inverted_dish": "false",
21+
"$key_bump": "false",
22+
"$key_bump_depth": "0.5",
23+
"$key_bump_edge": "0.4",
24+
"$key_height": "1",
25+
"$key_length": "1",
26+
"$key_shape_type": "rounded_square",
27+
"$keytop_thickness": "1",
28+
"$legends": "[]",
29+
"$linear_extrude_height_adjustment": "0",
30+
"$linear_extrude_shape": "false",
31+
"$minkowski_radius": "0.33",
32+
"$rounded_cherry_stem_d": "5.5",
33+
"$rounded_key": "false",
34+
"$stabilizer_type": "cherry",
35+
"$stem_inset": "0",
36+
"$stem_positions": "[[0, 0]]",
37+
"$stem_rotation": "0",
38+
"$stem_slop": "0.3",
39+
"$stem_support_height": "0.4",
40+
"$stem_support_type": "tines",
41+
"$stem_throw": "4",
42+
"$stem_type": "box_cherry",
43+
"$support_type": "flared",
44+
"$top_skew": "1.7",
45+
"$top_tilt": "-6",
46+
"$total_depth": "11.5",
47+
"$wall_thickness": "3",
48+
"$width_difference": "6",
49+
"key_profile": "dcs",
50+
"legend": "",
51+
"row": "1"
52+
},
53+
"Osu!Keypad": {
54+
"$alps_stem": "[4.45, 2.25]",
55+
"$bottom_key_height": "18.16",
56+
"$bottom_key_width": "18.16",
57+
"$cherry_bevel": "true",
58+
"$clearance_check": "false",
59+
"$corner_radius": "1",
60+
"$dish_depth": "1",
61+
"$dish_overdraw_height": "0",
62+
"$dish_overdraw_width": "0",
63+
"$dish_skew_x": "0",
64+
"$dish_skew_y": "0",
65+
"$dish_type": "cylindrical",
66+
"$font": "DejaVu Sans Mono:style=Book",
67+
"$font_size": "6",
68+
"$height_difference": "4",
69+
"$height_slices": "1",
70+
"$inverted_dish": "false",
71+
"$key_bump": "false",
72+
"$key_bump_depth": "0.5",
73+
"$key_bump_edge": "0.4",
74+
"$key_height": "1",
75+
"$key_length": "1",
76+
"$key_shape_type": "rounded_square",
77+
"$keytop_thickness": "1",
78+
"$legends": "[]",
79+
"$linear_extrude_height_adjustment": "0",
80+
"$linear_extrude_shape": "false",
81+
"$minkowski_radius": "0.33",
82+
"$rounded_cherry_stem_d": "5.5",
83+
"$rounded_key": "false",
84+
"$stabilizer_type": "cherry",
85+
"$stem_inset": "0",
86+
"$stem_positions": "[[0, 0]]",
87+
"$stem_rotation": "0",
88+
"$stem_slop": "0.3",
89+
"$stem_support_height": "0.4",
90+
"$stem_support_type": "tines",
91+
"$stem_throw": "4",
92+
"$stem_type": "box_cherry",
93+
"$support_type": "flared",
94+
"$top_skew": "1.7",
95+
"$top_tilt": "-6",
96+
"$total_depth": "11.5",
97+
"$wall_thickness": "3",
98+
"$width_difference": "6",
99+
"key_profile": "dcs",
100+
"legend": "",
101+
"row": "1"
102+
}
103+
},
104+
"fileFormatVersion": "1"
105+
}

0 commit comments

Comments
 (0)