Raspberry Pi mini PC owners that are developing or playing games on their Raspberry Pi system, might be interested to know that the Instructables website has published an article by Dexter Industries, that shows how you can enable PlayStation 2 controller support on your Raspberry Pi.
To be able to use your PlayStation 2 controller with your Raspberry Pi mini PC you will need to purchase an Arduberry and a Dexter Industries Playstation 2 Controller Shield for Arduino.
As well as already own a Raspberry Pi mini PC and of course a PlayStation 2 controller or similar clone. To set up support first you must Stack the PS2 controller connector to the PS2 shield and slide the shield on to the Arduberry. Slide the Arduberry on to the Raspberry Pi and power it on. Then Clone the library from the Github Repository to /usr/share/Arduino/libraries.
For full instructions on how to set up a Raspberry Pi system to support a PlayStation 2 controller jump over to the Instructables website full full instructions.