https://github.com/torvalds/linux
Raw File
Tip revision: d4a4f75cd8f29cd9464a5a32e9224a91571d6649 authored by Linus Torvalds on 08 June 2015, 03:23:50 UTC
Linux 4.1-rc7
Tip revision: d4a4f75
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