Just plug in a DualShock 3 (PS3) or a DualShock 4 (PS4) controller using a mini-USB cable and the Raspberry Pi will be able to see it. You can then configure its inputs from the Emulation Station menu. With Xbox 360 controllers, things seem a little more complicated.