11 if( pEvent->dwEventFlags == MOUSE_WHEELED ) {
12 last_z += ( ( pEvent->dwButtonState & 0xFF000000 ) ? -1 : 1 );
14 last_x = pEvent->dwMousePosition.X;
15 last_y = pEvent->dwMousePosition.Y;
30 inited = GetSystemMetrics( SM_CMOUSEBUTTONS );
33 dwMode |= ENABLE_MOUSE_INPUT;
44 *x = *y = *z = *buttons = -1;
50 if( !(dwMode & ENABLE_MOUSE_INPUT) )
52 dwMode |= ENABLE_MOUSE_INPUT;
61 if( ir.EventType == MOUSE_EVENT ) {