Difference between revisions of "Template:ConnectionNext"
(→Connecting to the console) |
(→Connecting to the console) |
||
Line 17: | Line 17: | ||
# Play. | # Play. | ||
# Press Left Shift + Escape to quit.|}} | # Press Left Shift + Escape to quit.|}} | ||
− | {{#ifeq:{{{platform|}}}|ps4|The PS4 only takes inputs from licensed controller.<br /> | + | {{#ifeq:{{{platform|}}}|ps4|'''The PS4 only takes inputs from licensed controller'''.<br /> |
− | In order to authenticate itself as a licensed controller, GIMX needs to be connected over bluetooth to a real Dualshock 4 all the time. | + | In order to authenticate itself as a licensed controller, GIMX needs to be connected over bluetooth to a real '''Dualshock 4 all the time'''. |
− | + | ====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 26: | ||
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. |
− | + | ====AVR USB development board==== | |
− | An [[DIY_USB_adapter#AVR_USB_development_board|AVR USB development board]] is required for pairing the bluetooth dongle with the PS4.<br /> | + | An [[DIY_USB_adapter#AVR_USB_development_board|AVR USB development board]] is required for pairing the '''bluetooth dongle''' with the PS4.<br /> |
The same board can be used to build a DIY USB adapter, but no USB to serial TTL converter is needed here.<br /> | The same board can be used to build a DIY USB adapter, but no USB to serial TTL converter is needed here.<br /> | ||
− | + | ====First-start instructions==== | |
# 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. |