diff options
author | jmz <jmz@FreeBSD.org> | 1995-09-16 16:29:16 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-09-16 16:29:16 +0000 |
commit | f96d2d37101a40564bb5591c85fd4ce376c5ee3d (patch) | |
tree | 4757343c88b54a5a4d4eb0f8a5f838fe5773d810 /share/man/man4/joy.4 | |
parent | d500436e5d23119a6ac31100fd9268b3d8b0fc88 (diff) | |
download | FreeBSD-src-f96d2d37101a40564bb5591c85fd4ce376c5ee3d.zip FreeBSD-src-f96d2d37101a40564bb5591c85fd4ce376c5ee3d.tar.gz |
Add technical specifications, and give the pinout of the game port
Submitted by: Joe Greco <jgreco@brasil.moneng.mei.com>
Diffstat (limited to 'share/man/man4/joy.4')
-rw-r--r-- | share/man/man4/joy.4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/share/man/man4/joy.4 b/share/man/man4/joy.4 index a0082e6..2ed006e 100644 --- a/share/man/man4/joy.4 +++ b/share/man/man4/joy.4 @@ -54,6 +54,31 @@ status. .It Dv JOY_GET_Y_OFFSET Fa int *offset Get the value which is added to the Y position when reading the joystick status. + +.Sh TECHNICAL SPECIFICATIONS + +The pinout of the DB-15 connector is as follow: +.Pp + 1 XY1 (+5v) + 2 Switch 1 + 3 X1 (potentiometer #1) + 4 Switch 1 (GND) + 5 Switch 2 (GND) + 6 Y1 (potentiometer #2) + 7 Switch 2 + 8 N.C. + 9 XY2 (+5v) + 10 Switch 4 + 11 X2 (potentiometer #3) + 12 Switch 3&4 (GND) + 13 Y2 (potentiometer #4) + 14 Switch 3 + 15 N.C. +.Pp +Pots are normally 0-150k variable resistors (0-100k sometimes), and +according to the IBM techref, the time is given by +Time = 24.2e-6s + 0.011e-6s * R/Ohms + .Sh FILES .Bl -tag -width /dev/joy? .It Pa /dev/joy? |