Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 639 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 639 Bytes

virtjs-btn

Based on virtjs by Sam Bazley.

Work around for joystick detection in Proton/SDL, with specific changes to make it useful in Star Citizen.

  • Instead of leaving the vendor, product and version values undefined, copies the first two from the cloned device and sets the version to 1.
  • Creates a virtual button for every absolute axis.
  • When an axis goes over 10% of its maximum value, the corresponding virtual button is pressed.

Usage

make
./virtjs-btn /dev/input/by-id/usb-FANATEC_FANATEC_CSL_Pedals_LCK-event-if00