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

Last change on this file since 2912 was 2469, checked in by sandervl, 26 years ago

* empty log message *

File size: 646 bytes
Line 
1/* $Id: winmouse.h,v 1.4 2000-01-18 20:08:18 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
14#include <win\mouse.h>
15
16extern LPMOUSE_EVENT_PROC mouseHandler;
17extern WNDPROC keyboardHandler;
18
19#define ISMOUSE_CAPTURED() (mouseHandler!=NULL)
20#define ISKDB_CAPTURED() (keyboardHandler!=0)
21
22#define MOUSEMSG_BUTTON 0
23#define MOUSEMSG_MOVE 1
24
25BOOL DInputMouseHandler(HWND hwnd, ULONG msg, ULONG x, ULONG y);
26void DInputKeyBoardHandler(MSG *msg);
27
28#endif //__WINMOUSE_H__
Note: See TracBrowser for help on using the repository browser.