Skip to content

UltimateNova1203/ds4_driver

Repository files navigation

ds4_driver

Basic HIDAPI driver skeleton for a DualShock 4 controller in C/C++. Can auto-enumerate between the different connection methods in real time. Will show device output in real time.

Controls

  • Touchpad + L1/R1: Change LED Color
  • Touchpad + L2/R2: Ramp Rumble
  • Touchpad + Up/Down: Adjust LED On Time
  • Touchpad + Left/Right: Adjust LED Off Time
  • CTRL + C to close the device

Supported devices:

  • Sony DualShock 4 (v1)
  • Sony DualShock 4 (v2)
  • Sony DualShock 4 (Bluetooth) (Untested)
  • Sony DualShock 4 Wireless Adapter

image