Skip to main content

Bridge Xbox controller inputs to Nintendo Switch

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xbox_switch_bridge-0.1.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xbox_switch_bridge-0.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file xbox_switch_bridge-0.1.0.tar.gz.

File metadata

  • Download URL: xbox_switch_bridge-0.1.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.19

File hashes

Hashes for xbox_switch_bridge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 659f8a539a36504e577ac7361f7082501073a0d6105a55de2177d07dab347d3b
MD5 da80eb66681c8a58fb4ade12afaa22a7
BLAKE2b-256 d65339ccb619faf7dace22e6eb21eb05d4ba59bbbb6dfd6ee6f0051ea8b45a1d

See more details on using hashes here.

File details

Details for the file xbox_switch_bridge-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xbox_switch_bridge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63f002989c75619a2acacc62eac0c9a7670ec691f45c61e92bb13f46ec0c6295
MD5 b07fc575a2dc6d3b998b25d32c896c81
BLAKE2b-256 4b0311ad8b163758e1fc5d0c1a0b1b033bc41ee081071e2983173840bb2b3d06

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page