MenuToggle Menu

Using the Gamepad Plugin in ProtoPie Connect

The Gamepad plugin is one of the many built-in plugins in ProtoPie Connect that allows you to create dynamic, multi-device prototyping experiences. Read along to see how the Gamepad plugin works.

How It Works

Prerequisites

In the Security & Privacy Settings of your computer, enable Input Monitoring for both ProtoPie Connect and your browser.

[object Object]

Getting Set-Up

1. Open ProtoPie Connect.

2. Connect your Gamepad via USB or Bluetooth to the machine where ProtoPie Connect is running.

  • In the Gamepad Settings window, Device Status will indicate Connected when the Gamepad is detected. If the plugin does not recognize the gamepad, try pressing some buttons on the Gamepad first.
[object Object]

3. Press Run to activate the gamepad connection with ProtoPie Connect.

4. When the Gamepad buttons are pressed, ProtoPie Connect automatically detects the keystrokes and broadcasts message and value pairs to the Pies running on Connect.

Connecting Multiple Gamepads

ProtoPie Connect supports connections with multiple Gamepads.

  • The message will follow the below format:
    • {Gamepad Number}_{Button Name}
  • Gamepad Number is assigned from 1 in the following connection order:
    • Gamepad connected first will have Gamepad number of 1.
    • Gamepad connected second will have Gamepad number of 2.
  • The number of connected gamepads is displayed in the Gamepad Settings window.
[object Object]

Gamepad Buttons and Messages

Gamepad buttons and messages are as follows (assuming messages are received from the first connected gamepad).

[object Object]

Gamepad Plugin – Buttons and Messages

Gamepad buttonProtoPie Connect messageValue
LT1_button610,0
LB1_button41,0
RT1_button710,0
RB1_button51,0
X1_button21,0
Y1_button31,0
A1_button01,0
B1_button11,0
Start1_button91,0
Back1_button81,0
11_button121,0
21_button151,0
31_button131,0
41_button141,0
RSB X axis1_axe210 to -10
RSB Y axis1_axe310 to -10
LSB X axis1_axe010 to -10
LSB Y axis1_axe110 to -10

Learn more about ProtoPie Connect's various built-in plugins, such as API, IFTTT, Logitech G29 Steering Wheel, Arduino, blokdots, and Unity plugins.

Back To Top