Project Browser
Directory Tree | Traditional project browser | List ALL projects
| Intended Audience
Game Developers
Programmers
Peripheral Programmers Programmers who have to program controllers, multi-taps, USB and iLink devices, etc.
|
|
Name |
Description |
Subprojects | | joypadlib - A joypad library | 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. | None |
| memcardlib - A memory card library | The standard memory card interface exposed through Linux ends up being a little
cumbersome in real applications. If you want to read or get information about the
memory card you end up having to open the device and do ioctl commands on it. If
you want to write or delete files you end up having to mount/umount the memory card
into some known directory and then perform your file operations. This library
collects most of the things you might want to do with a memory card; such as
determine the type and read, write, or delete files; and wraps them up into a neat
interface, making the whole process of managing memory card files much easier. | None |
|
|