https://github.com/torvalds/linux
Raw File
Tip revision: 5ecd3100e695228ac5e0ce0e325e252c0f11806f authored by Linus Torvalds on 05 June 2007, 00:57:25 UTC
Linux 2.6.22-rc4
Tip revision: 5ecd310
cd32.txt
I have written a small patch that let's me use my Amiga CD32
joypad connected to the parallel port. Thought I'd share it with you so
you can add it to the list of supported joysticks (hopefully someone will
find it useful).

It needs the following wiring:

CD32 pad   |   Parallel port
----------------------------
1 (Up)     |    2 (D0)
2 (Down)   |    3 (D1)
3 (Left)   |    4 (D2)
4 (Right)  |    5 (D3)
5 (Fire3)  |   14 (AUTOFD)
6 (Fire1)  |   17 (SELIN)
7 (+5V)    |    1 (STROBE)
8 (Gnd)    |   18 (Gnd)
9 (Fire2)  |    7 (D5)

back to top