| Last change
 on this file since 3604 was             2463, checked in by sandervl, 26 years ago | 
        
          | 
Added support for DInput wm_char notification handler
 | 
        
          | File size:
            646 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: winmouse.h,v 1.2 2000-01-17 17:19:21 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 |  | 
|---|
| 16 | extern LPMOUSE_EVENT_PROC mouseHandler; | 
|---|
| 17 | extern 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 |  | 
|---|
| 25 | BOOL DInputMouseHandler(HWND hwnd, ULONG msg, ULONG x, ULONG y); | 
|---|
| 26 | void DInputKeyBoardHandler(MSG *msg); | 
|---|
| 27 |  | 
|---|
| 28 | #endif //__WINMOUSE_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.