Skip to content

Arduino USB Joystick Thrust Controller for Elite Dangerous

Brief edited this page Jan 24, 2020 · 2 revisions

Elite Arduino Joystick

Analog joystick thruster control code for Aurduino Micro or Leonardo.

Purpose: Microcontroller code for secondary thumb joystick to replace pilots tendencies to control vertical and horizontal thrust with the HAT controls. Really, a HAT on a joystick is pathetic. It really is nothing more than 4 buttons. We do not need a HAT Control on a joystick. 1 HAT control on a joystick is 1 HAT control too many. We need this thumb joystick instead and in its place.

I wrote this for Elite Dangerous, but it may also work with other games like Star Citizen and so on.

Requires the Joystick Library code by Matthew Heironimus, available here: https://github.com/MHeironimus/ArduinoJoystickLibrary

Root Source: https://www.instructables.com/id/Arduino-LeonardoMicro-as-Game-ControllerJoystick/

Pin Layout

  • PIN 6 - Joystick Button
  • PIN A0 - X axis
  • PIN A1 - Y axis
  • PIN GND - Joystick Ground

Comment or Uncomment the source code depending on the one you choose

  • PIN 3.5 - 3.5V Joystick Power (or)
  • PIN 5 - 5.0V Joystick Power

Setup

Descriptions available in source code. It's a mess but its accurate. Message me if you can't figure it out.

Clone this wiki locally