Skip to content

Commit

Permalink
Merge pull request #2 from SkyoKen/ver.1.2
Browse files Browse the repository at this point in the history
Ver.1.2 实现Amiibo模拟功能
  • Loading branch information
SkyoKen authored May 16, 2020
2 parents e909dad + e01e720 commit 99dd7f6
Show file tree
Hide file tree
Showing 12 changed files with 323 additions and 227 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<div align="center">
<h1>RasCon Ver.1.0</h1>
<p>蓝牙连接Nintendo Switch,并可通过网页控制和使用脚本</p>
<h1>RasCon Ver.1.2</h1>
<p>蓝牙连接Nintendo Switch,并可通过网页控制和使用脚本与amiibo</p>
<p>基于开源项目 <a href="https://github.com/mart1nro/joycontrol">joycontrol</a></p>
<p>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/forks/SkyoKen/RasCon_NS.svg" alt="forks"></a>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/stars/SkyoKen/RasCon_NS.svg" alt="stars"></a>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/license/SkyoKen/RasCon_NS.svg" alt="license"></a>
</p>
<p>
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README.md">中文</a> |
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README_JP.md">日本語</a> |
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README_EN.md">ENGLISH</a>
<a href="README.md">中文</a> |
<a href="README_JP.md">日本語</a> |
<a href="README_EN.md">ENGLISH</a>
</p>
</div>

## 界面
<br/>
<img src="https://github.com/SkyoKen/RasCon_NS/blob/master/image.png">
<img src="image.png">
<br/>

## 运行环境
Expand All @@ -28,14 +28,21 @@
raspi3b+(rasbian)下成功运行

## 初次使用
需要将jotcontrol项目的joycontrol文件夹复制到该项目目录下
1.需要将joycontrol项目的joycontrol文件夹复制到该项目目录下
```
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.安装所需要的库
```
sudo apt install python3-dbus libhidapi-hidraw0 apache2
sudo pip3 install dbus-python flask
```

## 快速运行
1.打开终端,运行命令
```
Expand All @@ -56,10 +63,6 @@ https://github.com/SkyoKen/RasCon_NS/releases

## 可能遇到的问题

### Q:python3的dbus库不存在

A: 运行`sudo pip3 install dbus-python`

### Q:找不到hci0
A:确认hci0是否存在,运行命令`hciconfig`

Expand All @@ -68,10 +71,11 @@ A:确认hci0是否存在,运行命令`hciconfig`
## 参考
万恶之源 [Switch-Fightstick](https://github.com/progmem/Switch-Fightstick)

蓝牙模拟ns手柄 [joycontrol](https://github.com/mart1nro/joycontrol)
蓝牙模拟ns手柄(可模拟amiibo) [joycontrol](https://github.com/mart1nro/joycontrol)

蓝牙模拟ns手柄实现剑盾自动化 [poke_auto_joy](https://github.com/xxwsL/poke_auto_joy)

小白也能写的自动化脚本 [EasyCon(伊机控)](https://github.com/nukieberry/PokemonTycoon)



28 changes: 16 additions & 12 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<div align="center">
<h1>RasCon Ver.1.0</h1>
<p>Connect to Nintendo Switch over Bluetooth, to enable control and script from the web.</p>
<h1>RasCon Ver.1.2</h1>
<p>Connect to Nintendo Switch over Bluetooth, to enable control, emulate amiibo and use script from the web.</p>
<p>Based on open source projects <a href="https://github.com/mart1nro/joycontrol">joycontrol</a></p>
<p>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/forks/SkyoKen/RasCon_NS.svg" alt="forks"></a>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/stars/SkyoKen/RasCon_NS.svg" alt="stars"></a>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/license/SkyoKen/RasCon_NS.svg" alt="license"></a>
</p>
<p>
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README.md">中文</a> |
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README_JP.md">日本語</a> |
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README_EN.md">ENGLISH</a>
<a href="README.md">中文</a> |
<a href="README_JP.md">日本語</a> |
<a href="README_EN.md">ENGLISH</a>
</p>
</div>

## ScreenShot
<br/>
<img src="https://github.com/SkyoKen/RasCon_NS/blob/master/image.png">
<img src="image.png">
<br/>

## Environment
Expand All @@ -28,14 +28,21 @@
Successfully run under raspi3b + (rasbian)

## Before use
Need to copy the joycontrol folder of the jotcontrol project to this project directory
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
```

## Run
1.Open one terminal, and run the command
```
Expand All @@ -56,10 +63,6 @@ https://github.com/SkyoKen/RasCon_NS/releases

## Possible problems

### Q:No module named 'dbus'

A:Run `sudo pip3 install dbus-python`

### Q:hci0 device not found
A:Check if hci0 exists,run `hciconfig`

Expand All @@ -68,10 +71,11 @@ A:Check if hci0 exists,run `hciconfig`
## Referrence
万恶之源 [Switch-Fightstick](https://github.com/progmem/Switch-Fightstick)

蓝牙模拟ns手柄 [joycontrol](https://github.com/mart1nro/joycontrol)
蓝牙模拟ns手柄(可模拟amiibo) [joycontrol](https://github.com/mart1nro/joycontrol)

蓝牙模拟ns手柄实现剑盾自动化 [poke_auto_joy](https://github.com/xxwsL/poke_auto_joy)

小白也能写的自动化脚本 [EasyCon(伊机控)](https://github.com/nukieberry/PokemonTycoon)



28 changes: 16 additions & 12 deletions README_JP.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<div align="center">
<h1>RasCon Ver.1.0</h1>
<p>Bluetooth経由でNintendo Switchに接続して、Webページからの制御とスクリプトの利用を可能にします。。</p>
<h1>RasCon Ver.1.2</h1>
<p>Bluetooth経由でNintendo Switchに接続して、Webページからの制御とスクリプト、amiiboの利用を可能にします。。</p>
<p>オープンソースプロジェクト<a href="https://github.com/mart1nro/joycontrol">joycontrol</a>に基づいて</p>
<p>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/forks/SkyoKen/RasCon_NS.svg" alt="forks"></a>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/stars/SkyoKen/RasCon_NS.svg" alt="stars"></a>
<a href="https://github.com/SkyoKen/RasCon_NS"><img src="https://img.shields.io/github/license/SkyoKen/RasCon_NS.svg" alt="license"></a>
</p>
<p>
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README.md">中文</a> |
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README_JP.md">日本語</a> |
<a href="https://github.com/SkyoKen/RasCon_NS/blob/master/README_EN.md">ENGLISH</a>
<a href="README.md">中文</a> |
<a href="README_JP.md">日本語</a> |
<a href="README_EN.md">ENGLISH</a>
</p>
</div>

## 画面
<br/>
<img src="https://github.com/SkyoKen/RasCon_NS/blob/master/image.png">
<img src="image.png">
<br/>

## 環境
Expand All @@ -28,14 +28,21 @@
raspi3b +(rasbian)で正常に実行されます。

## 使用する前に
jotcontrolプロジェクトのjoycontrolフォルダーをこのプロジェクトディレクトリにコピーする必要があります
1.joycontrolプロジェクトのjoycontrolフォルダーをこのプロジェクトディレクトリにコピーする必要があります
```
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.必要なパッケージ
```
sudo apt install python3-dbus libhidapi-hidraw0 apache2
sudo pip3 install dbus-python flask
```

## 実行
1.ターミナルを開き、コマンドを実行します
```
Expand All @@ -56,10 +63,6 @@ https://github.com/SkyoKen/RasCon_NS/releases

## Possible problems

### Q:No module named 'dbus'

A: `sudo pip3 install dbus-python`を実行します

### Q:hci0 device not found
A:hci0が存在するかどうかを確認、`hciconfig`を実行します

Expand All @@ -68,10 +71,11 @@ A:hci0が存在するかどうかを確認、`hciconfig`を実行します
## 参考
万恶之源 [Switch-Fightstick](https://github.com/progmem/Switch-Fightstick)

蓝牙模拟ns手柄 [joycontrol](https://github.com/mart1nro/joycontrol)
蓝牙模拟ns手柄(可模拟amiibo) [joycontrol](https://github.com/mart1nro/joycontrol)

蓝牙模拟ns手柄实现剑盾自动化 [poke_auto_joy](https://github.com/xxwsL/poke_auto_joy)

小白也能写的自动化脚本 [EasyCon(伊机控)](https://github.com/nukieberry/PokemonTycoon)



Loading

0 comments on commit 99dd7f6

Please sign in to comment.