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

Installation

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

This will:

  • 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. Common issues:
  • Controller not detected: Ensure it's in pairing mode
  • Switch not connecting: Open the "Change Grip/Order" menu
  • Permission errors: Make sure you're running as root

Uninstallation

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

License

MIT

Metadata

Release files for xbox-switch-bridge 0.1.0

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.1.0
File Size Uploaded Provenance Actions
xbox_switch_bridge-0.1.0.tar.gz 6.8 kB Without provenance Details for xbox_switch_bridge-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.6 kB

Release files / xbox_switch_bridge-0.1.0.tar.gz

Download URL xbox_switch_bridge-0.1.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
659f8a539a36504e577ac7361f7082501073a0d6105a55de2177d07dab347d3b
BLAKE2b-256 checksum
How to use checksums
d65339ccb619faf7dace22e6eb21eb05d4ba59bbbb6dfd6ee6f0051ea8b45a1d
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.1.0-py3-none-any.whl

Download URL xbox_switch_bridge-0.1.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63f002989c75619a2acacc62eac0c9a7670ec691f45c61e92bb13f46ec0c6295
BLAKE2b-256 checksum
How to use checksums
4b0311ad8b163758e1fc5d0c1a0b1b033bc41ee081071e2983173840bb2b3d06
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.1.0

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