| version 1.1 | | version 1.2 |
|---|
| | |
| * Functions to access Mouse and Cyberman... | | * Functions to access Mouse and Cyberman... |
| * | | * |
| * $Log$ | | * $Log$ |
| * Revision 1.1 1999/06/14 22:00:37 donut | | * Revision 1.2 1999/09/05 04:19:19 sekmu |
| * Initial revision | | * made mouse exclusive for windows |
| | | * |
| | | * Revision 1.1.1.1 1999/06/14 22:00:37 donut |
| | | * Import of d1x 1.37 source. |
| * | | * |
| * Revision 1.8 1996/02/21 13:57:36 allender | | * Revision 1.8 1996/02/21 13:57:36 allender |
| * cursor device manager stuff added here so as not to | | * cursor device manager stuff added here so as not to |
| | |
| dipdw.dwData = 40; | | dipdw.dwData = 40; |
| | | |
| if (SUCCEEDED (hr = IDirectInputDevice_SetDataFormat (g_lpdidMouse, &c_dfDIMouse)) && | | if (SUCCEEDED (hr = IDirectInputDevice_SetDataFormat (g_lpdidMouse, &c_dfDIMouse)) && |
| SUCCEEDED (hr = IDirectInputDevice_SetCooperativeLevel (g_lpdidMouse, g_hWnd, DISCL_NONEXCLUSIVE | DISCL_FOREGROUND)) && | | //changed on 9/4/99 by Victor Rachels NONEX -> Exclusive |
| | | SUCCEEDED (hr = IDirectInputDevice_SetCooperativeLevel (g_lpdidMouse, g_hWnd, DISCL_EXCLUSIVE | DISCL_FOREGROUND)) && |
| | | //end this section edit -VR |
| SUCCEEDED (hr = IDirectInputDevice_SetProperty (g_lpdidMouse, DIPROP_BUFFERSIZE, &dipdw.diph)) && | | SUCCEEDED (hr = IDirectInputDevice_SetProperty (g_lpdidMouse, DIPROP_BUFFERSIZE, &dipdw.diph)) && |
| SUCCEEDED (hr = IDirectInputDevice_Acquire (g_lpdidMouse))) | | SUCCEEDED (hr = IDirectInputDevice_Acquire (g_lpdidMouse))) |
| { | | { |