Lines Matching +full:three +full:- +full:state
3 .\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
41 provide user programs with movement and button state information of the mouse.
54 Movement and button states are usually encoded in fixed-length data packets.
58 The mouse drivers may have ``non-blocking'' attribute which will make
68 and state of up to three buttons at this level.
74 .Bl -tag -width Byte_1 -compact
76 .Bl -tag -width bit_7 -compact
92 -128 through 127.
95 -128 through 127.
98 -128 through 127.
103 -128 through 127.
109 Z axis movement count in two's complement; -64 through 63.
113 the Z axis movement count in two's complement; -64 through 63.
117 The bits 0 through 6 reflect the state
145 .Bl -tag -width MOUSE -compact
157 .Bd -literal
213 .Bd -literal
217 int resolution; /* MOUSE_RES_XXX, -1 if unknown */
237 -1 if unknown or not applicable.
254 field tells the length of the fixed-size data packet or the length
255 of the fixed part of the variable-length packet.
285 If you do not want to change the current setting of a field, put -1
295 .Bd -literal
307 .It Dv MOUSE_READSTATE Ar mousedata_t *state
308 The command reads the raw state data from the device.
313 The command returns the current state of buttons and
315 .Bd -literal
317 int flags; /* state change flags */
330 fields hold the current and the previous state of the mouse buttons.
337 The first three buttons correspond to left, middle and right buttons.
339 If the state of the button has changed since the last
357 .Bl -tag -width /dev/sysmouseXX -compact