Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 2.41 KB

README_EN.md

File metadata and controls

81 lines (60 loc) · 2.41 KB

RasCon Ver.1.2.1

Connect to Nintendo Switch over Bluetooth, to enable control, emulate amiibo and use script from the web.

Based on open source projects joycontrol

forks stars license

中文 | 日本語 | ENGLISH

ScreenShot



Environment

  • python 3.7.3
  • bluetoothd 5.50
  • apache2 2.4.38
  • flask 1.0.2

Successfully run under raspi3b + (rasbian)

Before use

1.Need to copy the joycontrol folder of the jotcontrol project to this project directory

sudo git clone https://github.com/SkyoKen/RasCon_NS.git

sudo git clone https://github.com/mart1nro/joycontrol.git

sudo cp -r joycontrol/joycontrol RasCon_NS/

2.install package

sudo apt install python3-dbus libhidapi-hidraw0 apache2

sudo pip3 install dbus-python flask hid aioconsole crc8

Run

1.Open one terminal, and run the command

sudo python3 web.py

2.Use browser opens Raspberry Pi IP address: 5000 (E.g 192.168.1.100:5000)

3.Click Controllers -> Change grip/Order

4.Open the other terminal, and run the command

sudo python3 run.py

5.After connected, you can use the webpage to operate

For reference script

https://github.com/SkyoKen/RasCon_NS/releases

Possible problems

Q:hci0 device not found

A:Check if hci0 exists,run hciconfig

(If it doesn't work properly ... Maybe it works after changing to another system. My Raspberry Pi can't start hci0 with ubuntu18.04 and ubuntu mate ...

Referrence

万恶之源 Switch-Fightstick

蓝牙模拟ns手柄(可模拟amiibo) joycontrol

蓝牙模拟ns手柄实现剑盾自动化 poke_auto_joy

小白也能写的自动化脚本 EasyCon(伊机控)