joypadlib - A joypad library - Summary
Summary |
Forums |
Files |
Project Description: The standard joystick interface exposed through Linux, which is used by the samples included with PS2 Linux, is inadequate for accessing all the features of the newer Playstation joypads. Among the things you can't do with the standard Linux joystick interface are:
-Read the analog sticks
-Read the pressures on the "digital" buttons
-Set the joypad vibration
To address these shortcomings you could open up the devices directly in your own program and access and use ioctl commands. The problems with this approach are many:
-ioctl calls are ugly
-The format of joypad data isn't very well documented
-Accessing the raw data returned from the devices is
cumbersome and error prone
The joypadlib library hides most of the ugliness and complexity of accessing the joypads, which will hopefully give anybody using this library more time to create games. |
Find projects in similar categories:
|