source: trunk/src/user32/winmouse.h@ 3003

Last change on this file since 3003 was 2956, checked in by sandervl, 26 years ago

focus fixes + changes for dinput

File size: 622 bytes
Line 
1/* $Id: winmouse.h,v 1.5 2000-03-01 13:30:07 sandervl Exp $ */
2/*
3 * Mouse handler for DINPUT
4 *
5 * Copyright 1999 Sander van Leeuwen
6 *
7 *
8 * Project Odin Software License can be found in LICENSE.TXT
9 *
10 */
11#ifndef __WINMOUSE_H__
12#define __WINMOUSE_H__
13
14extern LPMOUSE_EVENT_PROC mouseHandler;
15extern WNDPROC keyboardHandler;
16
17#define ISMOUSE_CAPTURED() (mouseHandler!=NULL)
18#define ISKDB_CAPTURED() (keyboardHandler!=0)
19
20#define MOUSEMSG_BUTTON 0
21#define MOUSEMSG_MOVE 1
22
23BOOL DInputMouseHandler(HWND hwnd, ULONG msg, ULONG x, ULONG y);
24void DInputKeyBoardHandler(MSG *msg);
25
26#endif //__WINMOUSE_H__
Note: See TracBrowser for help on using the repository browser.