Get in sync with the latest driver update.
This commit is contained in:
parent
f726c602da
commit
74affdc8f8
@ -1,4 +1,4 @@
|
|||||||
.\" $NetBSD: ms.4,v 1.1 1995/10/19 06:50:44 leo Exp $
|
.\" $NetBSD: ms.4,v 1.2 1996/04/25 06:03:47 leo Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1995 Leo Weppelman
|
.\" Copyright (c) 1995 Leo Weppelman
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
@ -41,6 +41,28 @@ mouse interface
|
|||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Cd "pseudo-device mouse 1"
|
.Cd "pseudo-device mouse 1"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
||||||
|
The Atari mouse driver supports both the original Atari mouse and the third
|
||||||
|
party 3-button mouse that has its middle button connected to the up-switch
|
||||||
|
of the second joystick port. To accomodate X11 users with a standard mouse,
|
||||||
|
the driver is able to emulate the middle button. See the section on ioctls
|
||||||
|
for more info.
|
||||||
|
.Pp
|
||||||
|
.Bl -tag
|
||||||
|
.It Sy Supported ioctls
|
||||||
|
.Bl -tag -width MIOCG3B_EMUL -compact
|
||||||
|
.It MIOCS3B_EMUL
|
||||||
|
This ioctl turns the middle button emulation on or off depending on its
|
||||||
|
argument. The middle button event is triggered by simultaneously pressing
|
||||||
|
the left and right buttons. The default emulation mode is on.
|
||||||
|
.Pp
|
||||||
|
Note that the emulation status is retained across multiple open/close calls.
|
||||||
|
.It MIOCG3B_EMUL
|
||||||
|
This ioctl allows you to get the actual status of the emulation mode.
|
||||||
|
.El
|
||||||
|
.El
|
||||||
|
.Bl -tag
|
||||||
|
.It Sy Interface description
|
||||||
The Atari mouse interface works on a minimal emulation of Sun's Firm_event
|
The Atari mouse interface works on a minimal emulation of Sun's Firm_event
|
||||||
structures. The primary reason for this is easy interfacing with X11.
|
structures. The primary reason for this is easy interfacing with X11.
|
||||||
|
|
||||||
@ -71,9 +93,6 @@ The values of 'value' concerning a button event:
|
|||||||
#define VKEY_DOWN 1 /* a button went down */
|
#define VKEY_DOWN 1 /* a button went down */
|
||||||
.Ed
|
.Ed
|
||||||
|
|
||||||
The middle button event is generated by the driver on the Atari. It can
|
|
||||||
be triggered by simultaneously pressing the left and right buttons.
|
|
||||||
|
|
||||||
.Pp
|
.Pp
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width /dev/mouse0 -compact
|
.Bl -tag -width /dev/mouse0 -compact
|
||||||
@ -82,5 +101,6 @@ The real mouse device
|
|||||||
.It Pa /dev/mouse
|
.It Pa /dev/mouse
|
||||||
The currently active mouse device
|
The currently active mouse device
|
||||||
.El
|
.El
|
||||||
|
.El
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
The time interval that defines 'simultaneous' cannot be set.
|
The time interval that defines 'simultaneous' cannot be set.
|
||||||
|
Loading…
Reference in New Issue
Block a user