JOY(4)                OpenBSD Programmer's Manual (Amiga)               JOY(4)

NAME
     joy - amiga joystick driver

SYNOPSIS
     joy0 at mainbus0

DESCRIPTION
     This driver provides access to amiga joysticks.  The lower bit in the mi-
     nor device number selects the joystick: 0 is the first joystick and 1 is
     the second.

     The joystick connectors also accept mouses. There is no simple way to
     find out whether a mouse or a joystick is currently plugged in.

     The joystick is a digital device. Each read() on the file descriptor does
     return one byte representing the current state of the joystick, as a set
     of ORed values as listed in <machine/joystick.h>.

FILES
     /dev/joy0  first joystick
     /dev/joy1  second joystick

AUTHORS
     This very simple driver was written by Marc Espie on OpenBSD.

OpenBSD 2.9                    September 2, 2000                             1
