Penguin
Blame: JoystickParallelPort
EditPageHistoryDiffInfoLikePages
Annotated edit history of JoystickParallelPort version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 TonyVoyle 1 Attempted to get a PSX controller to work with the gamecon.c parallel port joystick driver.
2
3 Wired up connector as stated in src/linux/Documentation/input/joystick-parport.txt:
4
5 <verbatim>
6 2.3 Sony Playstation
7 ~~~~~~~~~~~~~~~~~~~~
8
9 The PSX controller is supported by the gamecon.c. Pinout of the PSX
10 controller (compatible with DirectPadPro):
11
12 +---------+---------+---------+
13 9 | o o o | o o o | o o o | 1 parallel
14 \________|_________|________/ port pins
15 | | | | | |
16 | | | | | +--------> Clock --- (4)
17 | | | | +------------> Select --- (3)
18 | | | +---------------> Power --- (5-9)
19 | | +------------------> Ground --- (18-25)
20 | +-------------------------> Command --- (2)
21 +----------------------------> Data --- (one of 10,11,12,13,15)
22
23 The driver supports these controllers:
24
25 * Standard PSX Pad
26 * NegCon PSX Pad
27 * Analog PSX Pad (red mode)
28 * Analog PSX Pad (green mode)
29 * PSX Rumble Pad
30 * PSX DDR Pad
31 </verbatim>
32
33 Initially had trouble getting it working, but found out that in order to laod the gamecon driver you have to unload the lp driver and load the joydev driver, eg:
34
35 <pre>
36 > modprobe -r lp
37 > modprobe joydev
38 > modprobe map=0,7,0,0,0,0
39 </pre>
40
41 This tells gamecon to use the first parallel port, a ~PlayStation controller for the first controller and nothing for the rest (the last 4 zeroes are not really necessary).