| Line | |
|---|
| 1 | /* $Id: winmouse.h,v 1.7 2000-03-09 21:50:11 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 | extern LPMOUSE_EVENT_PROC mouseHandler;
|
|---|
| 15 | extern WNDPROC keyboardHandler;
|
|---|
| 16 |
|
|---|
| 17 | #define ISMOUSE_CAPTURED() (mouseHandler!=NULL)
|
|---|
| 18 | #define ISKDB_CAPTURED() (keyboardHandler!=0)
|
|---|
| 19 |
|
|---|
| 20 | BOOL DInputMouseHandler(HWND hwnd, ULONG msg, ULONG x, ULONG y);
|
|---|
| 21 | BOOL DInputKeyBoardHandler(MSG *msg);
|
|---|
| 22 |
|
|---|
| 23 | #endif //__WINMOUSE_H__
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.