Skip to main content

Xbox Switch Bridge

Use your Xbox controller with Nintendo Switch via Raspberry Pi.

Requirements

  • Raspberry Pi (tested on Pi 4 and Pi 3B+)
  • Bluetooth capability
  • Python 3.7+
  • Root access for Bluetooth operations
  • Xbox Controller (tested with Xbox Series X/S controllers)
  • Nintendo Switch

System Dependencies

Before installing, make sure you have the required system packages:

sudo apt-get update
sudo apt-get install -y python3-pip python3-dev bluetooth bluez bluez-tools raspberrypi-kernel-headers dkms git

Installing xpadneo Driver

The xpadneo driver is required for Xbox wireless controller support. The installation script will handle this automatically, but if you want to install it manually:

# Clone the repository
git clone https://github.com/atar-axis/xpadneo.git

# Navigate to the directory
cd xpadneo

# Install
sudo ./install.sh

# Reboot is required after installation
sudo reboot

Installation

  1. Install the package:
sudo pip install xbox-switch-bridge
  1. Run the post-installation setup:
sudo xbox-switch-bridge --install

This will:

  • Install xpadneo driver if not present
  • Configure Bluetooth settings
  • Install and enable the systemd service
  • Set up required permissions

Usage

As a Service

Once installed, the bridge will start automatically on boot. You can manage it with:

sudo systemctl start xbox-switch-bridge   # Start the service
sudo systemctl stop xbox-switch-bridge    # Stop the service
sudo systemctl status xbox-switch-bridge  # Check status

Manual Usage

Run directly (requires root):

sudo xbox-switch-bridge --run

Troubleshooting

  1. Check the logs:
sudo journalctl -u xbox-switch-bridge
  1. Verify Bluetooth:
sudo systemctl status bluetooth
bluetoothctl show
  1. Check xpadneo driver:
dkms status | grep xpadneo
ls /sys/module/xpadneo
  1. Common issues:
  • Controller not detected: Ensure it's in pairing mode and xpadneo is properly installed
  • Switch not connecting: Open the "Change Grip/Order" menu
  • Permission errors: Make sure you're running as root
  • Controller not responding: Try re-pairing the controller or check xpadneo installation

Uninstallation

sudo xbox-switch-bridge --uninstall
sudo pip uninstall xbox-switch-bridge

To also remove xpadneo:

sudo dkms remove xpadneo/latest --all

License

MIT

Metadata

Release files for xbox-switch-bridge 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xbox-switch-bridge 0.3.1
File Size Uploaded Provenance Actions
xbox_switch_bridge-0.3.1.tar.gz 9.4 kB Without provenance Details for xbox_switch_bridge-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xbox-switch-bridge 0.3.1
File Interpreter ABI Platform Actions
xbox_switch_bridge-0.3.1-py3-none-any.whl Python 3 none any Details for xbox_switch_bridge-0.3.1-py3-none-any.whl

Total release size: 19.7 kB

Release files / xbox_switch_bridge-0.3.1.tar.gz

Download URL xbox_switch_bridge-0.3.1.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
65386dc915508de3a5fee1e469d58e46caec2a7b52658d1e93aeebdc03034859
BLAKE2b-256 checksum
How to use checksums
d16a77c1f8e2c67dcc931d382e748a415eef4a1d3ef20a7eb3d9224c05aa92a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.19

Release files / xbox_switch_bridge-0.3.1-py3-none-any.whl

Download URL xbox_switch_bridge-0.3.1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
afabf1901409f41b4b81eff06335c8fd3589fdd9bdc2cc35dcbbb96c73f21ad4
BLAKE2b-256 checksum
How to use checksums
2b80e32d4373177318d0012a317db289b4c7b6bdb20395969a77799ea897ddb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.19

Security for xbox-switch-bridge 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page