Deleted Added
sdiff udiff text old ( 70022 ) new ( 70466 )
full compact
1.\"
2.\" $FreeBSD: head/share/man/man4/joy.4 70466 2000-12-29 09:18:45Z ru $
3.\"
4.Dd January 23, 1995
5.Dt JOY 4 i386
6.Os FreeBSD
7.Sh NAME
8.Nm joy
9.Nd joystick device driver
10.Sh SYNOPSIS

--- 51 unchanged lines hidden (view full) ---

62Set the value to be added to the Y position when reading the joystick
63status.
64.It Dv JOY_GET_X_OFFSET Fa int *offset
65Get the value which is added to the X position when reading the joystick
66status.
67.It Dv JOY_GET_Y_OFFSET Fa int *offset
68Get the value which is added to the Y position when reading the joystick
69status.
70.El
71.Sh TECHNICAL SPECIFICATIONS
72The pinout of the DB-15 connector is as follow:
73.Pp
74 1 XY1 (+5v)
75 2 Switch 1
76 3 X1 (potentiometer #1)
77 4 Switch 1 (GND)
78 5 Switch 2 (GND)
79 6 Y1 (potentiometer #2)

--- 5 unchanged lines hidden (view full) ---

85 12 Switch 3&4 (GND)
86 13 Y2 (potentiometer #4)
87 14 Switch 3
88 15 N.C.
89.Pp
90Pots are normally 0-150k variable resistors (0-100k sometimes), and
91according to the IBM techref, the time is given by
92Time = 24.2e-6s + 0.011e-6s * R/Ohms
93.Sh FILES
94.Bl -tag -width /dev/joy?
95.It Pa /dev/joy?
96joystick device files
97.El
98.Sh AUTHORS
99.An Jean-Marc Zucconi Aq jmz@cabri.obs-besancon.fr
100.Sh HISTORY
101The joystick driver appeared in
102.Fx 2.0.5 .