Game is DCS and the action I want is to eject. This is done by pushing a button (any button that you want to use as you can change the button mapping in the game itself) that must be pulled 3 times rapidly.
Code
void setup() {
pinMode(2, INPUT_PULLUP);
}
void loop() {
if (digitalRead(2) ==...
No. I created a ejection handle for a game. I used a teensy to push a button (joybtn 1) three times when the micro switch is activated (game requires the button to be pushed 3 times). Just wondering if I can get rid of the cable and transfer that via Bluetooth.
Hello Everyone! New to all this and very new to coding. My initial project was to activate a microswitch and that would push a button 3 times rapidly (coding). I plug in the LC into the computer and it sees it as a keyboard/mouse/joystick and when I activate the microswitch everything works...