-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux Game Controllers
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to game controllers on Linux, covering Arch Linux, CachyOS, and other distributions including Xbox, PlayStation, and generic controllers.
- Xbox Controllers
- PlayStation Controllers
- Generic Controllers
- Controller Configuration
- Troubleshooting
Wired connection:
# Usually works automatically
# Plug in via USBWireless (Bluetooth):
# Pair controller
bluetoothctl
scan on
pair XX:XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XX:XXInstall drivers:
# Arch/CachyOS
sudo pacman -S xpadneo-dkms # For newer controllers
# Or xpad (older)
sudo pacman -S xpadWired:
# Install drivers
sudo pacman -S xboxdrv
# Or use xpad
sudo pacman -S xpadWired connection:
# Usually works automatically
# Plug in via USBWireless (Bluetooth):
# Pair controller
bluetoothctl
scan on
pair XX:XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XX:XXInstall drivers:
# Arch/CachyOS
sudo pacman -S bluez-utils
# DS4 support
sudo pacman -S ds4drvMost USB controllers work automatically:
# Check if detected
lsusb
# Test with jstest
sudo pacman -S joystick
jstest /dev/input/js0GUI configuration:
# Install
sudo pacman -S jstest-gtk
# Launch
jstest-gtkEnable in Steam:
- Steam → Settings → Controller
- Enable controller support
- Configure per-game
Configure SDL:
# Set environment variable
export SDL_GAMECONTROLLERCONFIG="..."
# Or use antimicrox
sudo pacman -S antimicroxCheck connection:
# List input devices
ls /dev/input/
# Check USB devices
lsusb
# Check kernel modules
lsmod | grep -i xpadCheck permissions:
# Add user to input group
sudo usermod -aG input username
# Log out and back inThis guide covered game controller setup for Xbox, PlayStation, and generic controllers on Arch Linux, CachyOS, and other distributions.
- Gaming Configuration - Gaming setup
- Steam Guide - Steam setup
- Bluetooth Configuration - Bluetooth setup
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.