USB to Playstation joypad adapter

From ArmadeusWiki
Jump to: navigation, search

How-to use USB to Playstation[1] joypad adapters on your APF boards.

Page under construction... Construction.png Informations on this page are not guaranteed !!

This type of adapter allows you to control your applications/games with massively available joypads, through the USB Host interface (only available on DevFull & APF27)

Tested materials

Adapter Model Chip Status
APF9328 / APF27
Driver Comments
APM TwinUSB adapter  ??? Digital pads & vibrators not tested
TBDL

Installation

 $ make linux-menuconfig
 Device Drivers  --->
    Input device support --->
        <*> Joystick interface
    * HID Devices --->
        Special HID drivers --->
            <*> Pantherlord devices support
               *        Pantherlord force feedback support
 
 $ make linux && make

copy following drivers on your target or reflash your rootfs (for more infos, see this page)

drivers/usb/...

Usage

  • be sure that your USB Host is running on your board: explanations are here
  • plug your USB adapter (here a Prolific one)
TBDL
  • Load the module:
# modprobe xxxx
  • a new joystick interface will be created and recognized by applications supporting it.

Software examples

  • If you want to know how to drive such beast from your applications, take a look at:
    • target/demos/input_test/ (SDL example)

Links

  • TBDL

Notes:

  1. Playstation and the Playstation logos are registered trademarks of Sony Computer Entertainment Inc.