Lines Matching +full:5 +full:- +full:button
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
74 .Bl -tag -width Byte_1 -compact
76 .Bl -tag -width bit_7 -compact
82 Left button status; cleared if pressed, otherwise set.
84 Middle button status; cleared if pressed, otherwise set.
86 if the device does not have the middle button.
88 Right button status; cleared if pressed, otherwise set.
92 -128 through 127.
95 -128 through 127.
98 -128 through 127.
101 .It Byte 5
103 -128 through 127.
105 the byte 3 and 5.
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.
119 If a button is pressed, the corresponding bit is cleared.
124 The first 5 bytes of this format is compatible with the MouseSystems
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
315 .Bd -literal
318 int button; /* button status */
319 int obutton; /* previous button status */
327 .Dv button
331 When a button is pressed, the corresponding bit is set.
333 Few button bits are defined as
339 If the state of the button has changed since the last
357 .Bl -tag -width /dev/sysmouseXX -compact