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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for libnxctrl-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86de98883aa278f994f2c1ff3fbecf1caa5ede9eb2876124123af87e8e7aecd6 |
|
MD5 | 47b122141d6f26dee843f2107894fb1d |
|
BLAKE2b-256 | 6b308973547cb9790f700ca7f10132a4c12c7f3e14c523ebb5ba1ca3f2b8888e |