Difference between revisions of "Template:ConnectionNext"
(→Connecting to the console) |
|||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Connecting to the console== | ==Connecting to the console== | ||
− | {{#ifeq:{{{connectionType|}}}|BT| | + | |
− | {{#ifeq:{{{platform|}}}|ps3|# Open gimx-launcher. | + | {{#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'''". | # 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>". | # If no previous pairing was defined, you will be asked to create a new pairing. Click on "<u>Yes</u>". | ||
Line 17: | Line 19: | ||
# Play. | # Play. | ||
# Press Left Shift + Escape to quit.|}} | # Press Left Shift + Escape to quit.|}} | ||
− | {{#ifeq:{{{platform|}}}|ps4| | + | {{#ifeq:{{{platform|}}}|ps4|====Raspbian-specific instructions==== |
− | |||
− | |||
− | |||
The bluetooth service is automatically started when a device tries to connect.<br /> | The bluetooth service is automatically started when a device tries to connect.<br /> | ||
Line 26: | Line 25: | ||
To disable the service, run the following command '''and reboot''':<br /> | To disable the service, run the following command '''and reboot''':<br /> | ||
− | sudo update-rc.d bluetooth disable | + | sudo update-rc.d bluetooth disable |
− | Alternatively, you can stop the bluetooth service and move the bluetoothd binary:<br /> | + | Alternatively, you can stop the bluetooth service and move the '''bluetoothd''' binary:<br /> |
− | sudo service bluetooth stop | + | sudo service bluetooth stop |
cd /usr/sbin | cd /usr/sbin | ||
sudo mv bluetoothd bluetoothd.bk | 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. | + | 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. | # Open gimx-launcher. | ||
− | # In the "Output" drop-down menu, select "Bluetooth / PS4". | + | # 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 "Yes". | + | # 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 "Yes". | + | # 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 "Yes". | + | # 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 "Validate". | + | # Select the pairing to use and click on "<u>Validate</u>". |
− | # Connect the AVR USB board (e.g. Teensy 2.0) and click on "Yes". | + | # 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. | # 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 "Yes". | + | # Connect the AVR USB board back to the computer, and click on "<u>Yes</u>". |
− | # A new pairing should appear in the "Pairing" drop-down menu. | + | # A new pairing should appear in the "<u>Pairing</u>" drop-down menu. |
− | # Unplug the Dualshock 4. | + | # Unplug the '''Dualshock 4'''. |
− | # In the "Config" drop-down menu, select the configuration file to use. | + | # In the "<u>Config</u>" drop-down menu, select the configuration file to use. |
− | # Click on "Start". | + | # Click on "<u>Start</u>". |
− | # Press on the PS button of the Dualshock 4. | + | # Press on the PS button of the '''Dualshock 4'''. |
# Play. | # Play. | ||
# Press Left Shift + Escape to quit. | # Press Left Shift + Escape to quit. | ||
Line 62: | Line 56: | ||
|}} | |}} | ||
− | {{#ifeq:{{{connectionType|}}}|USB| | + | {{#ifeq:{{{connectionType|}}}|USB| |
− | Now you need to connect '''USB adapter''' to both | + | 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 DIY adapter, several steps may be different from this guide. | + | 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]] | ||
+ | |}}<!-- | ||
+ | --> | ||
+ | |}} | ||
− | + | # Connect '''AVR board''' (USB cable) to the '''console''' | |
− | + | # Connect '''UART converter''' (the other side) to the '''computer''' | |
− | {{# | + | {{#switch:{{{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 | ||
+ | | 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''') | ||
+ | }}|}} |