Help:Peripherals and accessories

Help page
Revision as of 22:54, 17 May 2023 by Dark (talk | contribs) (Add documentation for Rock Band 3 MIDI Instruments.)

RPCS3 supports some USB peripherals through a system called USB passthrough. The supported devices will appear to games the same way as they would when plugged in to a real console, allowing games to discover and communicate with the USB accessories that they support.

Note that hotplugging is not supported yet, which means that the USB devices must be connected before launching the game and remain connected for the entire session.

cellUsbd Device Whitelist

To avoid interference from various USB devices on your PC, RPCS3 only exposes devices which have been whitelisted. At the time of writing, this list includes:

  • Buzz Buzzers
  • Disney Infinity Base
  • DJ Hero Turntable
  • EA Sports Active 2 Dongle
  • GCon3 Gun
  • Guitar Hero Drums
  • Guitar Hero Guitar
  • Guitar Hero Live Guitar
  • Harmonix Button Guitar
  • Harmonix Drums
  • Harmonix Guitar
  • Harmonix Keyboard
  • Harmonix Real Guitar
  • Kamen Rider Summonride Portal
  • Lego Dimensions Portal
  • lgFF_c283_c29b (a group of Logitech wheels supported by GT5/6)
  • lgFF_ca03_ca03 (Logitech wheels supported by GT6)
  • Oculus DK 1
  • PlayTV DVB-T Tuner (SCEH-0036)
  • Singstar Microphone (currently not working as it uses the streaming USB protocol)
  • Skylanders Portal
  • Thrustmaster F430
  • Thrustmaster FFB
  • Thrustmaster RGT FFB Pro
  • Thrustmaster T500 RS Gear Shift
  • Thrustmaster TRS
  • uDraw GameTablet

cellUsbd Set-up Instructions

RPCS3 needs to be able to communicate to the USB device directly. This requires some setup from the user.

On Windows

  • You need to make your device use WinUSB drivers. For this, a popular and respected software is Zadig.
  • IF you need to REVERT the driver changes, to make the device work with other software, the procedure is:
    1. Go to device manager, the device will be listed under "Universal Serial Bus Devices", right click on it,
    2. Properties => Driver => Update Driver => Browse my computer for driver software => Let me pick... => USB Input Device (or whatever the previous driver was).

On Linux

Create a file called /etc/udev/rules.d/99-ps3-peripherals.rules (you will need root permissions to create this file), and fill it with the following:

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

Note: the line above will grant RPCS3 full r/w access to all USB devices by default. If this concerns you, you might want to limit it to only specific USB devices using:

SUBSYSTEM=="usb", ATTRS{idVendor}=="ABCD", ATTRS{idProduct}=="1234", MODE="0666"

Change idVendor and idProduct values to the VID/PID of the device you want to allow.

After this you must either:

  1. restart your computer for these settings to apply or
  2. run sudo udevadm control --reload-rules and replug in your controller

Configuring Instruments

First, right click your game and click Create Custom Gamepad Configuration. Then follow the instructions below:

  • PS3/PS4/Wii Guitars: Use MMJoystick handler. Remap the following buttons:
    Cross = Green Fret
    Circle = Red Fret
    Square = Yellow Fret (GH) / Blue Fret (RB)
    Triangle = Blue Fret (GH) / Yellow Fret (RB)
    L1 = Orange Fret
    DPAD Up = Up Strum
    DPAD Down = Down Strum
    Right Stick Right = Whammy Bar
    L2 = Solo modifier (Rock Band only)
    R1 = Guitar tilt (Rock Band only)
  • Xbox 360 Guitars: Use XInput handler. Remap by flipping/switching the Y and X buttons while leaving the rest untouched.
  • PS3/Wii/Xbox 360 Drums: Use MMJoystick handler for PS3/Wii drums, and XInput handler for Xbox 360 drums.
    Change device class to Drums/Guitar Hero or Drums/Rock Band.
    • Remap the following buttons for Rock Band drums:
      Cross = Green Pad
      Circle = Red Pad
      Square = Blue Pad
      Triangle = Yellow Pad
      L1 = Foot Pedal
      DPAD = DPAD
    • For Rock Band Pro drums, also map the following buttons:
      L3 = Pad modifier
      R3 = Cymbal modifier
      R1 = Double bass pedal (Requires Rock Band 2 Deluxe mod or Rock Band 3)/Hi-hat pedal
    • For Guitar Hero drums, remap them the same way as Rock Band drums except:
      R1 = Orange Pad
  • PS3 Turntables: Works natively through USB passthrough after following cellUsbd Set-up Instructions section above.
  • Wii/Xbox 360 Turntables: Right click your game and click Create Custom Configuration. In addition to setting your preferred custom configuration settings, in the I/O tab set DJ Hero emulated turntable to 1 controller (or 2 controllers if you are binding multiple turntables).
    • For Xbox 360 turntables on Windows, you will need to calibrate the turntable using this Xbox 360 Turntable Calibrator tool.
      Connect your 360 table to your PC, and disconnect all other game controllers.
      Download the tool, and run Turntable_Calibrator.exe. It should find your turntable & generate 2 .reg files.
      Double-click the file starting with 360table_calibration_install to install the calibration to your registry.
      See the README for more details.
    • Back in the custom gamepad configuration, use MMJoystick handler and change device class to DJ/DJ Hero Turntable.
    • Remap the following buttons:
      Cross = Green Button
      Circle = Red Button
      Square = Blue Button
      Triangle = Euphoria (shared with dedicated Triangle button at the top of the mixer)
      Right Stick Down = Crossfade Left
      Right Stick Up = Crossfade Right
      Right Stick Left = Effects Dial Left
      Right Stick Right = Effects Dial Right
      Left Stick Down = Scratch Down
      Left Stick Up = Scratch Up
      Squircle Values Left: 0
      Squircle Values Right: 0
    • The following bind is needed for the Calibration and Tutorial modes, but is otherwise optional:
      R1: Dedicated Cross button at the top of the mixer.
    • The following binds are not needed, but documented for completeness:
      L1: Dedicated Circle button at the top of the mixer.
      R2: Dedicated Square button at the top of the mixer.

Notes:

  • For guitars, change device class to Guitar/Guitar Hero or Guitar/Rock Band depending on the instrument and game.
  • To use a drum and guitar at the same time you must create a profile for each of them.
  • If remapping the buttons isn’t working, click the "Filter Noise" button in the lower left corner.
  • If L2 is bound on a Guitar Hero guitar, you may erroneously auto-strum during solos in Rock Band games. Make sure the button isn't accidentally bound.
  • Tilt on Guitar Hero guitars will not function in Rock Band games.

Skylanders Portal

For Skylanders, there exists an emulated Skylanders portal which can be used with the game if you do not own the device yourself.

To use the emulated Skylanders portal:

  1. Go to Manage > Skylanders Portal
  2. Click New and create a new file. That file represents a Skylanders figure and its stats, it will be automatically saved with each change to the figure in-game. You can use the combobox to choose which figure that file represents.

Note:

  1. The emulated portal will not be enabled if you have a real Skylanders portal connected.
  2. If the Skylander figure data generation is incomplete and the first time you use it, the game will either refuse it, or some games (such as Skylanders SWAP Force) will detect it as <corrupted> and offer to repair it. Once it has been repaired by a game which supports repairing, it will work perfectly on other Skylanders games as well.

Rock Band 3 MIDI Instruments

There is support for an emulated Rock Band 3 MIDI Pro Adapter for Keyboards and Pro Guitars if you don't own the device yourself.

To use an emulated MIDI Pro Adapter

  1. Go to Configuration > Input/Output
  2. Select your MIDI devices and device types.

Keyboards use the following layout:

All inputs use MIDI channel 1.

octave 2:
 A B   C D E
1 2 3 4 5 6 7

1 - Select
2 - D-Pad Left
3 - D-Pad Right
4 - D-Pad Up
5 - D-Pad Down
6 - Overdrive
7 - Intentionally Left Blank

A - Triangle
B - Square
C - Circle
D - Cross
E - Start

Pitch Wheel - Slider/Whammy
Mod Wheel (MIDI CC 1) - Overdrive
Sustain Pedal (MIDI CC 40) - Overdrive

Octave 3, Octave 4, and Note C5 - Keys used in-game.

Pro Guitars use the buttons that are on the guitar itself.