summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-06 02:28:55 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-18 06:19:09 +0300
commitb8a91560964f19f03c6cb0afc218dafc85b21f4c (patch)
treed3e89d734b99acd4b419bc7c6e2600f718b93920
parenta6869e3a76f46b26a2b208882701fa17537b18cd (diff)
downloadlinux-b8a91560964f19f03c6cb0afc218dafc85b21f4c.tar.xz
Input: move documentation for Amiga CD32
Move the documentation for Amiga CD32 together with other parallel port joysticks. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--Documentation/input/cd32.rst24
-rw-r--r--Documentation/input/index.rst1
-rw-r--r--Documentation/input/joystick-parport.rst37
3 files changed, 37 insertions, 25 deletions
diff --git a/Documentation/input/cd32.rst b/Documentation/input/cd32.rst
deleted file mode 100644
index 935028b957d9..000000000000
--- a/Documentation/input/cd32.rst
+++ /dev/null
@@ -1,24 +0,0 @@
-==========
-Amiga CD32
-==========
-
-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)
-=========== =============
diff --git a/Documentation/input/index.rst b/Documentation/input/index.rst
index 153f0d476c3e..32c0515fd24b 100644
--- a/Documentation/input/index.rst
+++ b/Documentation/input/index.rst
@@ -54,7 +54,6 @@ Input drivers
appletouch
atarikbd
bcm5974
- cd32
cma3000_d0x
cs461x
edt-ft5x06
diff --git a/Documentation/input/joystick-parport.rst b/Documentation/input/joystick-parport.rst
index 0aa0fb17bf48..fa8cab584793 100644
--- a/Documentation/input/joystick-parport.rst
+++ b/Documentation/input/joystick-parport.rst
@@ -443,6 +443,43 @@ parallel port::
The other pins (Up, Down, Right, Left, Power, Ground) are the same as for
Multi joysticks using db9.c
+Amiga CD32
+----------
+
+Amiga CD32 joypad uses the following pinout::
+
+ +-----------> Button 3
+ | +---------> Right
+ | | +-------> Left
+ | | | +-----> Down
+ | | | | +---> Up
+ | | | | |
+ _____________
+ 5 \ o o o o o / 1
+ \ o o o o /
+ 9 `~~~~~~~' 6
+ | | | |
+ | | | +----> Button 1
+ | | +------> Power
+ | +--------> Ground
+ +----------> Button 2
+
+It can be connected to the parallel port and driven by db9.c driver. 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 (Button 3) 14 (AUTOFD)
+ 6 (Button 1) 17 (SELIN)
+ 7 (+5V) 1 (STROBE)
+ 8 (Gnd) 18 (Gnd)
+ 9 (Button 2) 7 (D5)
+ ============ =============
+
The drivers
===========