forked from mirror/joycontrol
Update README.md
This commit is contained in:
@@ -5,22 +5,33 @@ Work in progress.
|
|||||||
|
|
||||||
Pairing works, emulated controller shows up in the "Change Grip/Order" menu of the Switch.
|
Pairing works, emulated controller shows up in the "Change Grip/Order" menu of the Switch.
|
||||||
|
|
||||||
Tested with Raspberry Pi 4B Raspbian GNU/Linux 10 (buster)
|
Tested on Ubuntu 19.10 and with Raspberry Pi 4B Raspbian GNU/Linux 10 (buster)
|
||||||
|
|
||||||
- Start the program
|
## Installation
|
||||||
|
- Install dbus-python package
|
||||||
|
```bash
|
||||||
|
sudo apt install python3-dbus
|
||||||
|
```
|
||||||
|
- Clone the repository and install the joycontrol package to get missing dependencies (Note: Controller script needs super user rights, so python packages must be installed as root). In the joycontrol folder run:
|
||||||
|
```bash
|
||||||
|
sudo pip3 install .
|
||||||
|
```
|
||||||
|
|
||||||
|
## "Test Controller Buttons" example
|
||||||
|
- Run the script
|
||||||
```bash
|
```bash
|
||||||
sudo python3 run_test_controller_buttons.py
|
sudo python3 run_test_controller_buttons.py
|
||||||
```
|
```
|
||||||
- Open the "Change Grip/Order" menu of the Switch
|
- Open the "Change Grip/Order" menu of the Switch
|
||||||
- The emulated controller pairs with the Switch and automatically navigates to the "Test Controller Buttons" menu
|
- The emulated controller should pair with the Switch and automatically navigate to the "Test Controller Buttons" menu
|
||||||
|
|
||||||
|
## Issues
|
||||||
|
- When using a Raspberry Pi 4B the connection drops after some time. Might be a hardware issue, since it works fine on my laptop. Using a different bluetooth adapter may help, but haven't tested it yet.
|
||||||
|
- ...
|
||||||
|
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
|
||||||
# Resources
|
|
||||||
|
|
||||||
[Nintendo_Switch_Reverse_Engineering](https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering)
|
[Nintendo_Switch_Reverse_Engineering](https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering)
|
||||||
|
|
||||||
[console_pairing_session](https://github.com/timmeh87/switchnotes/blob/master/console_pairing_session)
|
[console_pairing_session](https://github.com/timmeh87/switchnotes/blob/master/console_pairing_session)
|
||||||
|
|
||||||
[bluez-ns-controller](https://github.com/mumumusuc/bluez-ns-controller)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user