diff options
author | ru <ru@FreeBSD.org> | 2000-11-10 17:46:15 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-11-10 17:46:15 +0000 |
commit | a6f5d950d860b642619fd71c1efc1875f906cc17 (patch) | |
tree | d290d38e2fe5b5c638aa4cd22f5612eb6b8cd6de /share/man/man4/joy.4 | |
parent | 48c9ea08a6fa4c9c3d612d66b001208c85107546 (diff) | |
download | FreeBSD-src-a6f5d950d860b642619fd71c1efc1875f906cc17.zip FreeBSD-src-a6f5d950d860b642619fd71c1efc1875f906cc17.tar.gz |
Avoid use of direct troff requests in mdoc(7) manual pages.
Diffstat (limited to 'share/man/man4/joy.4')
-rw-r--r-- | share/man/man4/joy.4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/man/man4/joy.4 b/share/man/man4/joy.4 index 1c9180e..f43c049 100644 --- a/share/man/man4/joy.4 +++ b/share/man/man4/joy.4 @@ -35,9 +35,10 @@ The structure is defined in the header file as follows: .Pp Positions are typically in the range 0-2000. .Ss One line perl example: +.Bd -literal -compact perl -e 'open(JOY,"/dev/joy0")||die;while(1) -.br {sysread(JOY,$x,16);@j=unpack("iiii",$x);print "@j\\n";sleep(1);}' +.Ed .Ss ioctl calls Several ioctl() calls are also available. They take an argument of |