Lines Matching +full:user +full:- +full:level
1 .\" Copyright 1997 John-Mark Gurney. All rights reserved.
12 .\" THIS SOFTWARE IS PROVIDED BY John-Mark Gurney AND CONTRIBUTORS ``AS IS'' AND
37 supplies mouse data to the user process in the standardized way via the
40 This arrangement makes it possible for the console and the user process
45 The user process which wants to utilize mouse operation simply opens
54 is running, otherwise the user process will not see any data coming from
60 The current operation level can be referred to and changed via ioctl calls.
62 The level zero, the basic level, is the lowest level at which the driver
63 offers the basic service to user programs.
72 .Bl -tag -width Byte_1 -compact
74 .Bl -tag -width bit_7 -compact
90 \-128 through 127.
93 \-128 through 127.
96 \-128 through 127.
101 \-128 through 127.
106 At the level one, the extended level, mouse data is encoded
135 .Bl -tag -width MOUSE -compact
136 .It Dv MOUSE_GETLEVEL Ar int *level
137 .It Dv MOUSE_SETLEVEL Ar int *level
138 These commands manipulate the operation level of the mouse driver.
149 .Bd -literal
182 at the operation level 0.
196 .Bd -literal
200 int resolution; /* MOUSE_RES_XXX, -1 if unknown */
202 int level; /* driver operation level */
211 when the mouse data is read by the user program.
214 at the operation level zero.
216 at the operation level one.
220 is always set to \-1.
224 is always set to \-1.
234 operation level.
236 .Bl -tag -width level_0__ -compact
237 .It Em level 0
239 .It Em level 1
260 .Va level
277 The user process issues console
283 also provides a method for the user process to receive a
301 .Bd -literal
312 .Bl -tag -width operation -compact
316 .Bl -tag -width MOUSE_MOVEABS -compact
346 .Bl -tag -width MOUSE_MOVEABS -compact
378 .Bl -tag -width data -compact
380 .Bd -literal
400 .Bd -literal
418 .Bd -literal
433 holds the click count: the number of times the user has clicked the button
438 .Bl -tag -width /dev/consolectl -compact
458 .An -nosplit
461 .An John-Mark Gurney Aq Mt jmg@FreeBSD.org