Notices by lamp (lamp@kitty.haus), page 20
-
The miku game makes more sense when playing it with something that resembles the arcade controls it was designed for. Especially the chords.
The buttons are really chonky and loud though, need to use it with noise isolating headphones
-
tiny
-
PURPLE WILL HAVE TO BE YELLOW
-
This should do
-
This guy got a point
If I'm just making buttons that map to keys I might well just wire into a keyboard board...
-
Well I wanted to make it a game controller but I guess keyboard is fine
-
why
-
const int buttonPins[] = {2,3,4,5,6,7};
int lastBtnState[6] = {HIGH, HIGH, HIGH, HIGH, HIGH, HIGH};
unsigned long lastBtnTime[6];
void setup() {
for (int i = 0; i < 6; i++) {
pinMode(buttonPins[i], INPUT_PULLUP);
}
pinMode(LED_BUILTIN, OUTPUT);
Serial.begin(9600);
}
void loop() {
for (int i = 0; i < 6; i++) {
int btnState = digitalRead(buttonPins[i]);
if (btnState != lastBtnState[i]) {
if (micros() - lastBtnTime[i] > 1000) {
OnBtnStateChange(i, !btnState);
}
lastBtnState[i] = btnState;
lastBtnTime[i] = micros();
}
}
}
void OnBtnStateChange(int btn, bool pressed) {
Serial.print(btn);
Serial.println(pressed);
digitalWrite(LED_BUILTIN, pressed);
}
-
prototyping miku game controller
-
@jeff Way off
I converted to millimeters and used a digital calliper
-
16 AND 5/8 DIVIDED BY 5
16.625 SO 3.325
HOW MANY EITHS IS .325???
-
tfw piece of garbage makes better server than proper tower server
-
Is this enough?
-
My rig 😎
-
aaand i think the gpu just crashed or something...
-
VRCHAT WORKING ON 2009 MAC
-
This mac has a lot of temp sensors
-
windows 10 ugly compared to windows 7 look at all this FLAT WHITE with missing borders.
Back when windows 10 came out I thought it was a flipping joke.
-
@mikunuma i used generic key
-
fuggg how i
lamp
kittey!!!
- Tags
-
- ActivityPub
- Remote Profile
Statistics
- User ID
- 39496
- Member since
- 9 Aug 2023
- Notices
- 866
- Daily average
- 2