Skip to main content

Python Library Emulating Nintendo Switch Controllers

Project description

libnxctrl

Python Library Emulating Nintendo Switch Controllers

Installation

There are multiple backends: nxbt and splatplost USB. The nxbt backend can only be used on Linux, while the splatplost USB backend can be used on Linux and Windows.

pip install libnxctrl[nxbt]
pip install libnxctrl[usb]

Usage

If running libnxctrl as a linux bluetooth daemon, for example, on a raspberry Pi which doesn't have a GUI interface, you can run with the following command:

libnxctrl --host 0.0.0.0 --port 15973

Use splatplost and select Remote Backend to connect to the daemon. For example, if you access your raspberry Pi from 192.168.1.123 and set the port to 12345, fill the Remote Server field with http://192.168.1.123:12345.

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

libnxctrl-0.2.1.tar.gz (130.4 kB view hashes)

Uploaded Source

Built Distribution

libnxctrl-0.2.1-py3-none-any.whl (149.2 kB view hashes)

Uploaded Python 3

Supported by

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