https://github.com/torvalds/linux
Raw File
Tip revision: 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd authored by Linus Torvalds on 07 September 2014, 23:09:43 UTC
Linux 3.17-rc4
Tip revision: 2ce7598
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