Penguin
Blame: JoystickParallelPort
EditPageHistoryDiffInfoLikePages
Annotated edit history of JoystickParallelPort version 2, including all changes. View license author blame.
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
2 CraigBox 5 <verbatim>
1 TonyVoyle 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
2 CraigBox 31 </verbatim>
1 TonyVoyle 32
2 CraigBox 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:
1 TonyVoyle 34
35 <pre>
36 > modprobe -r lp
37 > modprobe joydev
38 > modprobe map=0,7,0,0,0,0
39 </pre>
40
2 CraigBox 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).