Commit fce5a558 authored by Peter Nelson's avatar Peter Nelson Committed by Vojtech Pavlik

input: Enhancements/fixes for PSX pad support:

    * Adds support for more than one controller. Previously more than
      one controller was initialized and the docs said they worked, but
      only one was actually read.                                      
    * Removes unnecessary detection on initialization. This allows the
      module to be initialized without controllers plugged in (hot    
      swapping controllers works). This removes a warning if the user
      has an unrecognized controller plugged in, but the only        
      unrecognized controller I have been able to find information about
      online is the PSX mouse, which I've never actually seen.          
    * Adds a GC_DDR option value to have direction presses register as
      buttons instead of axes. Allows the module to be used for Dance
      Dance Revolution emulators like Stepmania.                     
    * Adds psx_* to documentation.   

Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>           
parent d2460be4
......@@ -335,6 +335,7 @@ controller (compatible with DirectPadPro):
* Analog PSX Pad (red mode)
* Analog PSX Pad (green mode)
* PSX Rumble Pad
* PSX DDR Pad
2.4 Sega
~~~~~~~~
......@@ -452,14 +453,22 @@ uses the following kernel/module command line:
5 | Multisystem 2-button joystick
6 | N64 pad
7 | Sony PSX controller
8 | Sony PSX DDR controller
The exact type of the PSX controller type is autoprobed, so you must have
your controller plugged in before initializing.
The exact type of the PSX controller type is autoprobed when used so
hot swapping should work (but is not recomended).
Should you want to use more than one of parallel ports at once, you can use
gamecon.map2 and gamecon.map3 as additional command line parameters for two
more parallel ports.
There are two options specific to PSX driver portion. gamecon.psx_delay sets
the command delay when talking to the controllers. The default of 25 should
work but you can try lowering it for better performace. If your pads don't
respond try raising it untill they work. Setting the type to 8 allows the
driver to be used with Dance Dance Revolution or similar games. Arrow keys are
registered as key presses instead of X and Y axes.
3.2 db9.c
~~~~~~~~~
Apart from making an interface, there is nothing difficult on using the
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment