Difference between revisions of "Template:ConnectionNext"

From GIMX
Jump to: navigation, search
 

(31 intermediate revisions by 2 users not shown)

Line 1: Line 1:
 
==Connecting to the console==
 
==Connecting to the console==
{{#ifeq:{{{connectionType|}}}|BT|===Bluetooth===
+
 
I don't have a linux now, TODO
+
{{#ifeq:{{{connectionType|}}}|BT|<!--
 +
-->{{#ifeq:{{{platform|}}}|ps3|<span style="color:red; font-weight: bold;">TODO: Where to split and what are instructions for second-time connection?</span>
 +
# Open gimx-launcher.
 +
# In the "<u>Output</u>" drop-down menu, select "'''Bluetooth / PS3'''".
 +
# If no previous pairing was defined, you will be asked to create a new pairing. Click on "<u>Yes</u>".
 +
# As requested, connect a '''Sixaxis''' / '''Dualshock 3''', and click on "<u>Yes</u>".
 +
# Select the pairing to use and click on "<u>Validate</u>".
 +
# As requested, connect a '''bluetooth dongle''', and click on "<u>Yes</u>".
 +
# Save the '''bluetooth dongle''' address as you may wish to restore it later.
 +
# Select the '''bluetooth dongle''', and click on "<u>Validate</u>".
 +
# Make sure you saved the dongle address, and click on "<u>Yes</u>".
 +
# The dongle address will be modified to match the address of the '''Sixaxis / Dualshock 3'''.
 +
# If you get an error message, buy a [[Bluetooth_dongle|compatible bluetooth dongle]].
 +
# Unplug your '''sixaxis''' and if it doesn't power off by itself, press the PS button until it powers off.
 +
# In the "<u>Config</u>" drop-down menu, select the configuration file to use.
 +
# Click on "<u>Start</u>".
 +
# Play.
 +
# Press Left Shift + Escape to quit.|}}
 +
{{#ifeq:{{{platform|}}}|ps4|====Raspbian-specific instructions====
 +
 
 +
The bluetooth service is automatically started when a device tries to connect.<br />
 +
This is annoying since it will intercept the connection requests.<br />
 +
To disable the service, run the following command '''and reboot''':<br />
 +
 
 +
sudo update-rc.d bluetooth disable
 +
 
 +
Alternatively, you can stop the bluetooth service and move the '''bluetoothd''' binary:<br />
 +
 
 +
sudo service bluetooth stop
 +
cd /usr/sbin
 +
sudo mv bluetoothd bluetoothd.bk
 +
 
 +
The drawback of this second method is that it will need to be performed again after each update of the '''bluez''' package.
 +
 
 +
====First-start instructions====
 +
<span style="color:red; font-weight: bold;">TODO: Where to split and what are instructions for second-time connection?</span>
 +
# Open gimx-launcher.
 +
# In the "<u>Output</u>" drop-down menu, select "'''Bluetooth / PS4'''".
 +
# If no previous pairing was defined, you will be asked to create a new pairing. Click on "<u>Yes</u>".
 +
# As requested, connect a [[Bluetooth_dongle|compatible bluetooth dongle]], and click on "<u>Yes</u>".
 +
# As requested, connect a '''Dualshock 4''' with a micro USB cable, and click on "<u>Yes</u>".
 +
# Select the pairing to use and click on "<u>Validate</u>".
 +
# Connect the AVR USB board (e.g. Teensy 2.0) and click on "<u>Yes</u>".
 +
# As requested, connect the AVR USB board to the PS4, and wait a few seconds.
 +
# Connect the AVR USB board back to the computer, and click on "<u>Yes</u>".
 +
# A new pairing should appear in the "<u>Pairing</u>" drop-down menu.
 +
# Unplug the '''Dualshock 4'''.
 +
# In the "<u>Config</u>" drop-down menu, select the configuration file to use.
 +
# Click on "<u>Start</u>".
 +
# Press on the PS button of the '''Dualshock 4'''.
 +
# Play.
 +
# Press Left Shift + Escape to quit.
 +
|}}
 
|}}
 
|}}
  
{{#ifeq:{{{connectionType|}}}|USB|===USB adapter===
+
{{#ifeq:{{{connectionType|}}}|USB|
Now we need to connect your USB adapter to both, your computer and the console.
+
Now you need to connect the '''USB adapter''' to both your computer and the console.
 +
 
 +
In this guide [https://blog.gimx.fr/product/gimx-adapter/ official GIMX adapter from GIMX shop] is used. If you use a DIY USB adapter, several steps may be different from this guide.
 +
 
 +
{{#switch:{{{device|}}}
 +
|Mouse = <!--
 +
-->{{#switch:{{{platform|}}}
 +
|ps4 = [[File:schememouseauth.png]]
 +
|ps3 = [[File:schememouse.png]]
 +
|xboxone = [[File:schememouseauth.png]]
 +
|xbox360 = [[File:schememouseauth.png]]
 +
|}}<!--
 +
-->
 +
|SteeringWheel = <!--
 +
-->{{#switch:{{{platform|}}}
 +
|ps4 = [[File:schemewheelauth.png]]
 +
|ps3 = [[File:schemewheel.png]]
 +
|ps2 = [[File:schemewheel.png]]
 +
|xboxone = [[File:schemewheelauth.png]]
 +
|xbox360 = [[File:schemewheelauth.png]]
 +
|pc = '''In the diagram below, the target computer is represented by the console. It is possible to have the game and GIMX run on the same computer. In this case both ends of the adapter are plugged to the same computer.'''<br /><br />[[File:schemewheel.png]]
 +
|}}<!--
 +
-->
 +
|Pad = <!--
 +
-->{{#switch:{{{platform|}}}
 +
|ps4 = [[File:schemegamepadauth.png]]
 +
|ps3 = [[File:schemegamepad.png]]
 +
|xboxone = [[File:schemegamepadauth.png]]
 +
|xbox360 = [[File:schemegamepadauth.png]]
 +
|}}<!--
 +
-->
 +
|}}
  
For this guide we use [https://blog.gimx.fr/product/gimx-adapter/ official GIMX adapter from our shop]. If you use DIY adapter, several steps may be different from this guide.
+
# Connect '''AVR board''' (USB cable) to the '''console'''
====TODO: Insert photos====
+
# Connect '''UART converter''' (the other side) to the '''computer'''
* Connect AVR board (blue board) to the console
+
{{#switch:{{{platform|}}}
* Connect UART convert (the other side) to the computer
+
| ps4 = # '''Turn off Dualshock 4 controller (this is really important)'''
{{#ifeq:{{{platform|}}}|ps4|* '''Turn off Dualshock 4 controller (this is really important)'''
+
# Connect turned off controller to the computer using a USB cable in good condition
* Connect turned off controller to the computer using USB cable|}}{{#ifeq:{{{platform|}}}|xboxone|* Connect your '''Xbox One controller''' to the '''computer'''|}}{{#ifeq:{{{platform|}}}|xbox360|* Connect your '''Xbox 360 controller''' to the '''computer''' (Play and charge kit '''WILL NOT WORK''')|}}|}}
+
| xboxone = # Connect your '''Xbox One controller''' to the '''computer'''
 +
| xbox360 = # Connect your wired '''Xbox 360 controller''' to the '''computer''' (Play and charge kit '''WILL NOT WORK''')
 +
}}|}}

Latest revision as of 18:30, 25 May 2018

Connecting to the console