User:Sodaplayer/linux-sandbox

From DCS World Wiki - Hoggitworld.com
Revision as of 08:45, 27 December 2022 by Sodaplayer (talk | contribs) (Update permissions section)

Peripherals

There are other good resources for configuring and troubleshooting joysticks on Linux. This section will be focused on being a streamlined reference for getting peripherals working through Wine/Proton and cover common issues.

See also: The Arch Linux Wiki Gamepad Article for how joysticks work in Linux

Troubleshooting

Permissions

If your joystick isn't appearing in DCS, check if you have permission to access it. Most modern joysticks are available through the evdev interface and will appear as a device in /dev/input/event*. To see what device is mapped to your joystick, list the files inside /dev/input/by-id/ to see the names of each device mapped to a /dev/input/event* entry.

Virtual Inputs

You may want to bind joystick controls to mouse buttons and key-presses. In Linux, the uinput module can be used to create virtual keyboards, mouses, and joysticks inputs.

Useful Applications

Some applications can read joystick inputs and configure virtual devices:

  • AntiMicroX - Maps controllers to mouse and keyboard buttons.
  • MoltenGamepad - Allows you to combine or split controllers into virtual gamepads.