Skip to content

A virtual joystick specifically intended for allowing racing pedals to be seen by Star Citizen, based on virtjs by Sam Bazley

License

Notifications You must be signed in to change notification settings

StelardActek/virtjs-btn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A virtual joystick specifically intended for allowing racing pedals to be seen by Star Citizen, based on virtjs by Sam Bazley

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published