Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 2.6 KB

README.md

File metadata and controls

41 lines (33 loc) · 2.6 KB

Trinket Analog Handbrake

Features

  • Using PlatformIO with vscode
  • Created a TrinketJoystick lib based on the Adafruit HID Combo lib, it uses bit-bang USB technique
  • Joystick logic is based on the ArduinoJoystickLibrary created by Matthew Heironimus https://github.com/MHeironimus/ArduinoJoystickLibrary
  • Throttling info is working fine, receiving data from 10K potentiometer using 10 bit ADC

Structe

  • main folder contains the .ino file
  • hardware folder is the Arduino's hardware folder
  • libraries folder is the Arduino's libraries folder

Board config

  • Board: Adafruit Trinket (ATtiny85 @ 8MHZ)(Adafruit AVR Boards)
  • Programmer: USBtinyISP
  • Low speed USB is only able to accept data packets 8 bytes in length or less

TODO

  • Add a complete gamepad structure on the hid report descriptor, so the games can recognized the gamepad on the settings

Adafruit docs about Trinket

Adafruit repos for Trinket

USB docs

DIView