All ProjectsDirectory Tree | Traditional project browser | List ALL projectsTotal projects: 2 Display projects beginning with : A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9|ALL
Project Name |
Description | Jase's Funky Stuff | This project contains whatever bits of sample code and other useful tidbits I write or port across to PS2 Linux. Most graphics related, as I tend to spend most of my time doing things with the GS and Vector Units. | 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. |
|