Skip to content

Turn Arduino Leonardo into converter PC Gameport DB15 -> USB HID

Notifications You must be signed in to change notification settings

nipperv/Arduino-PC-Gameport-HID

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arduino Gameport to USB HID

Simple Arduino Leonardo project. Allow using old PC joystick with Gameport DB15 interface.

Using modified Arduino USB HID core from CONNOR Blog. Link contain files for old Arduino IDE, repo contain new version with slightly modify logging. Replace files from Arduino folder Arduino\hardware\arduino\cores\arduino\ with new version from Arduino_USB_HID_Core (USBAPI.h HID.cpp).

Build Arduino shield or using breadboard with schematic from Schematic folder.

If you are using analog joystick open sketch from Analog_Joystick or get Digital_Joystick for gamepad.

All schematic create with fritzing. Slightly mess with ortogonal lines ;(.

P.S. Analog joystick may be need slightly tuning with constants.

const int AXIS_MIN = 550; const int AXIS_MAX = 1023; const int AXIS_NUL = 720;

All debug information route to Arduino COM port.

About

Turn Arduino Leonardo into converter PC Gameport DB15 -> USB HID

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.2%
  • Other 21.8%