Driver Ps2 Controller Usb Adapter
before you start downloading the files you need a valid steam account. set the steam overlay in your game and enable keyboard/mouse/gamepad emulation. if the game supports xbox360cemu you should see “x360cemu” in the controller menu in settings -> configure controller -> view. if you see “hid generic gamepad” then we can skip to the next step. if you do not see anything then we need to use
xboxdrv or the binary version. if the controller is recognized and the gui is displayed you may skip to the next step.
if the controller is recognized and the gui is displayed you may now configure the controller with xboxdrv or xboxdrv_binary. you may use the gui to configure all buttons and axes. for the steam controller you will only need to configure the l2, r2, and l3 buttons for your gamepad. you may use the defaults or change the axis config to your own liking. your choice will be remembered when you later change the controller. you will need to restart your steam session for the controller configuration to take affect.
if the controller is not recognized and the gui is not displayed you can use xinput_configure_pad to configure it yourself manually. if you do not see the controller name in the xinput list you have the xpad or xboxdrv_binary version of xboxdrv installed. if you do see the controller name then you have the xboxdrv version. you can use
xinput list to test the device itself. if it does not work you will need to use
xinput add-extension to add the controller to your system. you can use
xinput list-props to check if the controller was added to your system correctly.
For devices that do not natively support it, xpad is capable of detecting a controller via USB as a generic gamepad. This can be created with xpad. Create a configuration file for xpad in ~/.config/xpad/pad.xml with:
Models with software buttons and a plastic casing (e.g. the new PS Vita and some new models of PSP) can be detected by the driver. However if the model is detected but the buttons are not usable, it is likely that the device is not handled by the driver itself.
If you are unsure whether your controller is working, the HID device is another reliable indicator. If your controller registers two or more HID devices (not all controllers do), but has no driver support, you can try to see whether it is a HID device. This can be useful for devices with generic drivers like usbhid. For example, it may be a generic USB-to-serial adapter. In this case, you can check whether the device has USB-to-serial support by running lsusb.
Using the ‘ps2readb’ command will attempt to map the controller keys. If this fails, check that the US key layout is correct. For example, the standard US layout (found on game consoles) is as follows:
L1: L1 R1: R1 L2: L2 R2: R2 US: Esc | L1 | L2 | L3 | L4 | R3 | R4 | R5 | R6 In the US key layout the left and right shoulder buttons do not need to be on the first 4 keys. For example, L1 and R1 can be placed next to each other on the PS2 controller, or on the XBox 360 controller they can be on different locations. This command can be useful to map buttons that were not recognized by xpad, or to test controller buttons and map left and right buttons to arbitrary locations. However, ps2readb uses US key layout table based on the LCD language. A few games (e.g. La-Mulana EX) don’t conform with this, instead they use a different key layout table. To map game-specific key mappings, use ps2readb.pl: