Discord Push to Talk (PTT) Steering Wheel Button – Logitech G920

DIY – HID keyboard emulator based on a Ardunio (Digispark) and a simple Push button and 3D Printed Bracket.

Parts used
1 – Cheap amazon button
1 – 10k Pull-up Resister
1 – Digispark Kickstarter Attiny85 USB Micro Development Board
1 – Custom 3D printed Bracket
1 – Telephone handset cord
2 – Black Wire Ties
Misc. Heatshrink, Solder, etc.

Arduino Code

#include "DigiKeyboard.h"

void setup() {
  pinMode(0, INPUT_PULLUP);
}


void loop() {
  // this is generally not necessary but with some older systems it seems to
  // prevent missing the first character after a delay:
  DigiKeyboard.sendKeyStroke(0);
  
  // Type out this string letter by letter on the computer (assumes US-style
  // keyboard)
  if (digitalRead(0)== 0){
  DigiKeyboard.print("~");
  DigiKeyboard.delay(500);
  }
  
}

Download the 3D Files

Leave a Reply