Lines Matching full:mouse

27  * 			2/3/5 Button PS/2 Mouse Protocol
29 * This module dynamically determines the number of buttons on the mouse.
37 #include <sys/mouse.h>
82 #define PS2_WAIT_WHEEL_DEV_ACK 26 /* Detected wheel mouse */
90 #define PS2_WAIT_WHEEL5_DEV_ACK 34 /* Detected 5 button mouse */
97 #define MOUSE_MODE_PLAIN 0 /* Normal PS/2 mouse - 3 byte msgs */
98 #define MOUSE_MODE_WHEEL 1 /* Wheel mouse - 4 byte msgs */
99 #define MOUSE_MODE_WHEEL5 2 /* Wheel + 5 btn mouse - 4 byte msgs */
101 #define PS2_FLAG_NO_EXTN 0x08 /* Mouse doesn't obey extended cmds */
102 #define PS2_FLAG_INIT_DONE 0x01 /* Mouse has been inited successfully */
103 #define PS2_FLAG_INIT_TIMEOUT 0x02 /* Mouse init timeout */
107 * before the PS/2 mouse is ready
133 * to a function with group commands (e.g. wheel-mouse detection).
219 * Start the wheel-mouse detection code. First, we look in vuidmice_start_wdc_or_setres()
222 * device ID, a wheel mouse will return an ID of 0x03. in vuidmice_start_wdc_or_setres()
255 * Later the PS/2 mouse maybe re-attach, so here in VUID_OPEN()
279 * the wheel mouse sample commands, so if we're in any of in VUID_INIT_TIMEOUT()
281 * a timeout, assume the mouse cannot handle the extended in VUID_INIT_TIMEOUT()
282 * (wheel mouse) commands. in VUID_INIT_TIMEOUT()
289 * We overload 'inited' to mark the PS/2 mouse in VUID_INIT_TIMEOUT()
319 * mouse in the only state from which it can recover -- waiting for an in VUID_INIT_TIMEOUT()
330 /* Try to reset the mouse again */ in VUID_INIT_TIMEOUT()
396 * the PS/2 mouse data format doesn't have any sort of sync in VUID_QUEUE()
481 * mouse-related modules for this patch. in VUID_QUEUE()
491 * This byte is delta Y. If this is a plain mouse, in VUID_QUEUE()
537 * PS/2 mouse reports -ve values in VUID_QUEUE()
542 * The mouse reports 0xf when scrolled up in VUID_QUEUE()
545 * Microsoft and Black Cat mouse only in VUID_QUEUE()
567 * The mouse return -7 and +7 when it in VUID_QUEUE()
584 * If we can peek at the next mouse character, and in VUID_QUEUE()
625 * A response with length 1 from the mouse in VUID_QUEUE()
653 * 0xAA 0x00. If the mouse doesn't send that, mouse8042 in VUID_QUEUE()
655 * resetting the mouse. in VUID_QUEUE()
727 * game. One is a Mouse Systems mouse OEM'ed in VUID_QUEUE()
732 * compiled as vuid3ps2 and the mouse doesn't in VUID_QUEUE()
734 * mouse. This effectively disables in VUID_QUEUE()