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
File details
Details for the file libnxctrl-0.2.1.dev0.tar.gz
.
File metadata
- Download URL: libnxctrl-0.2.1.dev0.tar.gz
- Upload date:
- Size: 133.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dfdc05e9651c51b60e734aafab162919e21de6d5b09d808e74fba65b0ce7c31 |
|
MD5 | 74debe13949010a102bf59aa6fbdd9b0 |
|
BLAKE2b-256 | 90532a16e7678420ff423dcbee136c2c4fe51a38c8421fa7e4c7da2daec1413b |
File details
Details for the file libnxctrl-0.2.1.dev0-py3-none-any.whl
.
File metadata
- Download URL: libnxctrl-0.2.1.dev0-py3-none-any.whl
- Upload date:
- Size: 149.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eeca7b7f0abe052ae3d9d8bb7acc6b2fba73862a684f0a99a1c460176cff8c8 |
|
MD5 | 3c84f07357be66aa8bee72abd87fc0e7 |
|
BLAKE2b-256 | 8c65368f73569c9901bcf77891d1ba4c991c0bf53723d1715eca936244422a52 |