Skip to content

Commit 4ff62d6

Browse files
committed
Removed joycontrol-pluginloade.py script
1 parent 69bcb4b commit 4ff62d6

3 files changed

Lines changed: 26 additions & 98 deletions

File tree

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This is a plugin loader for joycontrol that can emulate Nintendo Switch controll
1919
- Install joycontrol-pluginloader
2020

2121
```sh
22-
$ git clone https://github.com/Almtr/joycontrol-pluginloader
22+
$ git clone https://github.com/Almtr/joycontrol-pluginloader.git
2323
$ sudo pip3 install joycontrol-pluginloader/
2424
```
2525

@@ -32,13 +32,13 @@ This is a plugin loader for joycontrol that can emulate Nintendo Switch controll
3232
1. Run the script
3333

3434
```sh
35-
$ sudo joycontrol-pluginloader.py plugins/tests/PairingController.py
35+
$ sudo joycontrol-pluginloader plugins/tests/PairingController.py
3636
```
3737

3838
Run results:
3939

4040
```sh
41-
$ sudo joycontrol-pluginloader.py plugins/tests/PairingController.py
41+
$ sudo joycontrol-pluginloader plugins/tests/PairingController.py
4242
[17:03:13] joycontrol.server create_hid_server::58 WARNING - [Errno 98] Address already in use
4343
[17:03:13] joycontrol.server create_hid_server::60 WARNING - Fallback: Restarting bluetooth due to incompatibilities with the bluez "input" plugin. Disable the plugin to avoid issues. See https://github.com/mart1nro/joycontrol/issues/8.
4444
[17:03:13] joycontrol.server create_hid_server::65 INFO - Restarting bluetooth service...
@@ -71,16 +71,15 @@ This is a plugin loader for joycontrol that can emulate Nintendo Switch controll
7171
- Basic Usage
7272

7373
```
74-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> <Joycontrol Plugin path>
74+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> <Joycontrol Plugin path>
7575
```
7676

7777
- Options
7878

7979
```
80-
usage: joycontrol-pluginloader.py [-h]
81-
[-p [PLUGIN_OPTIONS [PLUGIN_OPTIONS ...]]]
82-
[-d DEVICE_ID] [-r RECONNECT_BT_ADDR] [-v]
83-
plugin
80+
usage: joycontrol-pluginloader [-h] [-p [PLUGIN_OPTIONS [PLUGIN_OPTIONS ...]]]
81+
[-d DEVICE_ID] [-r RECONNECT_BT_ADDR] [-v]
82+
plugin
8483

8584
positional arguments:
8685
plugin joycontrol plugin path
@@ -124,7 +123,7 @@ This is a plugin loader for joycontrol that can emulate Nintendo Switch controll
124123
- Load and run ``SamplePlugin.py``
125124
126125
```sh
127-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/samples/SamplePlugin.py arg1 arg2
126+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/samples/SamplePlugin.py arg1 arg2
128127

129128
<snip>
130129

@@ -149,7 +148,7 @@ Check if the controller buttons are working properly.
149148
1. Run TestControllerButtons.py with joycontrol-pluginloader
150149
151150
```
152-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/tests/TestControllerButtons.py
151+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/tests/TestControllerButtons.py
153152
```
154153
155154
### TestControllerSticks
@@ -163,7 +162,7 @@ Check if the controller sticks are working properly.
163162
1. Run TestControllerSticks.py with joycontrol-pluginloader
164163
165164
```
166-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/tests/TestControllerSticks.py
165+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/tests/TestControllerSticks.py
167166
```
168167
169168
### RepeatA
@@ -173,7 +172,7 @@ Pushing the "A Button" repeatedly.
173172
- Run RepeatA.py with joycontrol-pluginloader
174173
175174
```
176-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/utils/RepeatA.py
175+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/utils/RepeatA.py
177176
```
178177
179178
### SimpleMacro
@@ -183,7 +182,7 @@ Press the specified buttons in sequence.
183182
- Run SimpleMacro.py with joycontrol-pluginloader
184183
185184
```
186-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/utils/SimpleMacro.py --plugin-options a b x y up down left right
185+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/utils/SimpleMacro.py --plugin-options a b x y up down left right
187186
```
188187
189188
## References

README_ja.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Bluetooth 経由で Nintendo Switch コントローラのエミュレートが
1919
- joycontrol-pluginloader のインストール
2020

2121
```sh
22-
$ git clone https://github.com/Almtr/joycontrol-pluginloader
22+
$ git clone https://github.com/Almtr/joycontrol-pluginloader.git
2323
$ sudo pip3 install joycontrol-pluginloader/
2424
```
2525

@@ -32,13 +32,13 @@ Bluetooth 経由で Nintendo Switch コントローラのエミュレートが
3232
1. スクリプトを実行する
3333

3434
```sh
35-
$ sudo joycontrol-pluginloader.py plugins/tests/PairingController.py
35+
$ sudo joycontrol-pluginloader plugins/tests/PairingController.py
3636
```
3737

3838
実行結果:
3939

4040
```sh
41-
$ sudo joycontrol-pluginloader.py plugins/tests/PairingController.py
41+
$ sudo joycontrol-pluginloader plugins/tests/PairingController.py
4242
[17:03:13] joycontrol.server create_hid_server::58 WARNING - [Errno 98] Address already in use
4343
[17:03:13] joycontrol.server create_hid_server::60 WARNING - Fallback: Restarting bluetooth due to incompatibilities with the bluez "input" plugin. Disable the plugin to avoid issues. See https://github.com/mart1nro/joycontrol/issues/8.
4444
[17:03:13] joycontrol.server create_hid_server::65 INFO - Restarting bluetooth service...
@@ -70,20 +70,19 @@ Bluetooth 経由で Nintendo Switch コントローラのエミュレートが
7070
- 基本的な使い方
7171

7272
```
73-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> <Joycontrol Plugin path>
73+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> <Joycontrol Plugin path>
7474
```
7575

7676
- オプション
7777

7878
```
79-
usage: joycontrol-pluginloader.py [-h]
80-
[-p [PLUGIN_OPTIONS [PLUGIN_OPTIONS ...]]]
81-
[-d DEVICE_ID] [-r RECONNECT_BT_ADDR] [-v]
82-
plugin
83-
79+
usage: joycontrol-pluginloader [-h] [-p [PLUGIN_OPTIONS [PLUGIN_OPTIONS ...]]]
80+
[-d DEVICE_ID] [-r RECONNECT_BT_ADDR] [-v]
81+
plugin
82+
8483
positional arguments:
8584
plugin joycontrol plugin path
86-
85+
8786
optional arguments:
8887
-h, --help show this help message and exit
8988
-p [PLUGIN_OPTIONS [PLUGIN_OPTIONS ...]], --plugin-options [PLUGIN_OPTIONS [PLUGIN_OPTIONS ...]]
@@ -123,7 +122,7 @@ Bluetooth 経由で Nintendo Switch コントローラのエミュレートが
123122
- ``SamplePlugin.py`` をロードし、実行する
124123
125124
```sh
126-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/samples/SamplePlugin.py arg1 arg2
125+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/samples/SamplePlugin.py arg1 arg2
127126

128127
<snip>
129128

@@ -148,7 +147,7 @@ Bluetooth 経由で Nintendo Switch コントローラのエミュレートが
148147
1. joycontrol-pluginloader で TestControllerButtons.py を実行する
149148
150149
```
151-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/tests/TestControllerButtons.py
150+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/tests/TestControllerButtons.py
152151
```
153152
154153
### TestControllerSticks
@@ -162,7 +161,7 @@ Bluetooth 経由で Nintendo Switch コントローラのエミュレートが
162161
1. joycontrol-pluginloader で TestControllerSticks.py を実行する
163162
164163
```
165-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/tests/TestControllerSticks.py
164+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/tests/TestControllerSticks.py
166165
```
167166
168167
### RepeatA
@@ -172,7 +171,7 @@ Aボタンを繰り返し押す。
172171
- joycontrol-pluginloader で RepeatA.py を実行する
173172
174173
```
175-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/utils/RepeatA.py
174+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/utils/RepeatA.py
176175
```
177176
178177
### SimpleMacro
@@ -182,7 +181,7 @@ Aボタンを繰り返し押す。
182181
- joycontrol-pluginloader で SimpleMacro.py を実行する
183182
184183
```
185-
$ sudo joycontrol-pluginloader.py -r <Switch Bluetooth Mac address> plugins/utils/SimpleMacro.py --plugin-options a b x y up down left right
184+
$ sudo joycontrol-pluginloader -r <Switch Bluetooth Mac address> plugins/utils/SimpleMacro.py --plugin-options a b x y up down left right
186185
```
187186
188187
## 参考

joycontrol-pluginloader.py

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)