389 lines
12 KiB
Groff
389 lines
12 KiB
Groff
|
.\"
|
|||
|
.\" Copyright (c) 1997
|
|||
|
.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
|||
|
.\" All rights reserved.
|
|||
|
.\"
|
|||
|
.\" Redistribution and use in source and binary forms, with or without
|
|||
|
.\" modification, are permitted provided that the following conditions
|
|||
|
.\" are met:
|
|||
|
.\" 1. Redistributions of source code must retain the above copyright
|
|||
|
.\" notice, this list of conditions and the following disclaimer as
|
|||
|
.\" the first lines of this file unmodified.
|
|||
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|||
|
.\" notice, this list of conditions and the following disclaimer in the
|
|||
|
.\" documentation and/or other materials provided with the distribution.
|
|||
|
.\"
|
|||
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|||
|
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|||
|
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|||
|
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|||
|
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|||
|
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|||
|
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|||
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|||
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
.\"
|
|||
|
.\" %Id: mouse.4,v 1.2 1998/03/12 07:30:35 charnier Exp %
|
|||
|
.\" jpman %Id: mouse.4,v 1.3 2000/08/24 05:57:25 yt-kage Stab %
|
|||
|
.\" WORD: track ball <09>ȥ<EFBFBD><C8A5>å<EFBFBD><C3A5>ܡ<EFBFBD><DCA1><EFBFBD>
|
|||
|
.\" "
|
|||
|
.Dd December 3, 1997
|
|||
|
.Dt MOUSE 4 i386
|
|||
|
.Os FreeBSD
|
|||
|
.Sh ̾<EFBFBD><EFBFBD>
|
|||
|
.Nm mouse
|
|||
|
.Nd <EFBFBD>ޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><EFBFBD>ǥХ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥɥ饤<EFBFBD><EFBFBD>
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Fd #include <machine/mouse.h>
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɥ饤<EFBFBD><EFBFBD>
|
|||
|
.Xr mse 4 ,
|
|||
|
.Xr psm 4 ,
|
|||
|
.Xr sysmouse 4
|
|||
|
<EFBFBD>ϥ桼<EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥ޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ư<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤ξ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ߤΤ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FBFBD>
|
|||
|
.Bd -literal
|
|||
|
typedef struct mousehw {
|
|||
|
int buttons; /* <20>ܥ<EFBFBD><DCA5><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
int iftype; /* I/F <20>η<EFBFBD> */
|
|||
|
int type; /* <20>ޥ<EFBFBD><DEA5><EFBFBD>/<2F>ȥ<EFBFBD><C8A5>å<EFBFBD><C3A5>ܡ<EFBFBD><DCA1><EFBFBD>/<2F>ȥ<EFBFBD><C8A5>å<EFBFBD><C3A5>ѥå<D1A5>... */
|
|||
|
int model; /* I/F <20><>¸<EFBFBD>Υ<EFBFBD><CEA5>ǥ<EFBFBD> ID */
|
|||
|
int hwid; /* I/F <20><>¸<EFBFBD>Υϡ<CEA5><CFA1>ɥ<EFBFBD><C9A5><EFBFBD><EFBFBD><EFBFBD> ID */
|
|||
|
} mousehw_t;
|
|||
|
.Ed
|
|||
|
.Pp
|
|||
|
.Dv buttons
|
|||
|
<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤϥɥ饤<EFBFBD>Ф<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ф<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݻ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ɥ饤<EFBFBD>Ф<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τʿ<EFBFBD><EFBFBD>ФǤ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD>
|
|||
|
2 <20>ʤɤ<CAA4>Ŭ<EFBFBD><C5AC><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD><CDA4><EFBFBD><EFBFBD>Υե<CEA5><D5A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>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BFBD><EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>𤷤ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Bd -literal
|
|||
|
typedef struct mousemode {
|
|||
|
int protocol; /* MOUSE_PROTO_XXX */
|
|||
|
int rate; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><>ñ<EFBFBD><C3B1>) */
|
|||
|
int resolution; /* MOUSE_RES_XXX<58><58><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD> -1 */
|
|||
|
int accelfactor; /* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>졼<EFBFBD><ECA1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
int level; /* <20>ɥ饤<C9A5>Ф<EFBFBD><D0A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>٥<EFBFBD> */
|
|||
|
int packetsize; /* <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>ѥ<EFBFBD><D1A5>åȤ<C3A5>Ĺ<EFBFBD><C4B9> */
|
|||
|
unsigned char syncmask[2]; /* Ʊ<><C6B1><EFBFBD>ӥå<D3A5> */
|
|||
|
} mousemode_t;
|
|||
|
.Ed
|
|||
|
.Pp
|
|||
|
.Dv protocol
|
|||
|
<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤϡ<EFBFBD><EFBFBD>桼<EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ब<EFBFBD>ޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD><EFBFBD><EFBFBD><EFBFB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EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>ϡ<EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>Υե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD> -1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ޤ<EFBFBD>
|
|||
|
.Dv resolution
|
|||
|
<EFBFBD><EFBFBD>
|
|||
|
.Dv rate
|
|||
|
<EFBFBD>ˤ<EFBFBD> 0 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뤳<EFBFBD>Ȥ<EFBFBD><C8A4>Ǥ<EFBFBD><C7A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|||
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤΥǥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.\" .Pp
|
|||
|
.\" .It Dv MOUSE_GETVARS Ar mousevar_t *vars
|
|||
|
.\" Get internal variables of the mouse driver.
|
|||
|
.\" The variables which can be manipulated through these commands
|
|||
|
.\" are specific to each driver.
|
|||
|
.\" This command may not be supported by all drivers.
|
|||
|
.\" .Bd -literal
|
|||
|
.\" typedef struct mousevar {
|
|||
|
.\" int var[16]; /* internal variables */
|
|||
|
.\" } mousevar_t;
|
|||
|
.\" .Ed
|
|||
|
.\" .Pp
|
|||
|
.\" If the commands are supported, the first element of the array is
|
|||
|
.\" filled with a signature value.
|
|||
|
.\" Apart from the signature data, there is currently no standard concerning
|
|||
|
.\" the other elements of the buffer.
|
|||
|
.\" .Pp
|
|||
|
.\" .It Dv MOUSE_SETVARS Ar mousevar_t *vars
|
|||
|
.\" Get internal variables of the mouse driver.
|
|||
|
.\" The first element of the array must be a signature value.
|
|||
|
.\" This command may not be supported by all drivers.
|
|||
|
.Pp
|
|||
|
.It Dv MOUSE_READDATA Ar mousedata_t *data
|
|||
|
<EFBFBD>ܥ<EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>ɤϥǥХ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υǡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Bd -literal
|
|||
|
typedef struct mousedata {
|
|||
|
int len; /* <20>Хåե<C3A5><D5A5><EFBFBD><EFBFBD>Υǡ<CEA5><C7A1><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
int buf[16]; /* <20>ǡ<EFBFBD><C7A1><EFBFBD><EFBFBD>ѥХåե<C3A5> */
|
|||
|
} mousedata_t;
|
|||
|
.Ed
|
|||
|
.Pp
|
|||
|
<EFBFBD>ƤӽФ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD>
|
|||
|
<EFBFBD>Хåե<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ߹<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD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EFBFBD>ܥ<EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>ɤϤ<EFBFBD><EFBFBD>٤ƤΥɥ饤<EFBFBD>Ф<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥϸ¤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Pp
|
|||
|
.It Dv MOUSE_GETSTATE Ar mousestatus_t *status
|
|||
|
<EFBFBD>ܥ<EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD>ɤϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ߤΥܥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤Ȱ<EFBFBD>ư<EFBFBD>̤ι<EFBFBD>¤<EFBFBD>Τ<EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Bd -literal
|
|||
|
typedef struct mousestatus {
|
|||
|
int flags; /* <20><><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9>ե饰 */
|
|||
|
int button; /* <20>ܥ<EFBFBD><DCA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
int obutton; /* <20><><EFBFBD><EFBFBD><EFBFBD>Υܥ<CEA5><DCA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
|||
|
int dx; /* x <20><><EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD>ư */
|
|||
|
int dy; /* y <20><><EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD>ư */
|
|||
|
int dz; /* z <20><><EFBFBD><EFBFBD><EFBFBD>ΰ<EFBFBD>ư */
|
|||
|
} mousestatus_t;
|
|||
|
.Ed
|
|||
|
.Pp
|
|||
|
.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FBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ꥻ<EFBFBD>åȤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.El
|
|||
|
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Bl -tag -width /dev/sysmouseXX -compact
|
|||
|
.It Pa /dev/cuaa%d
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ꥢ<EFBFBD><EFBFBD><EFBFBD>ݡ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.It Pa /dev/mse%d
|
|||
|
<EFBFBD>Х<EFBFBD><EFBFBD>ޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>InPort <20>ޥ<EFBFBD><DEA5><EFBFBD><EFBFBD>ǥХ<C7A5><D0A5><EFBFBD>
|
|||
|
.It Pa /dev/psm%d
|
|||
|
PS/2 <20>ޥ<EFBFBD><DEA5><EFBFBD><EFBFBD>ǥХ<C7A5><D0A5><EFBFBD>
|
|||
|
.It Pa /dev/sysmouse
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ۥޥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǥХ<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.El
|
|||
|
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.Xr ioctl 2 ,
|
|||
|
.Xr mse 4 ,
|
|||
|
.Xr psm 4 ,
|
|||
|
.Xr sysmouse 4 ,
|
|||
|
.Xr moused 8
|
|||
|
.\".Sh HISTORY
|
|||
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
<EFBFBD>ܥޥ˥奢<EFBFBD><EFBFBD><EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
.An Kazutaka Yokota Aq yokota@FreeBSD.org
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|