diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-09-15 17:58:50 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-09-15 17:58:50 +0000 |
commit | c4083511acd1d0f20a242b8cd3ed62629629ce8f (patch) | |
tree | f2de1942bfaf834842d1bc272653ee53441de663 /hw/xwin/win.h | |
parent | 516f452e78170bc643117a71bd2246a83b071316 (diff) |
add support for mice with more than 3 buttons and one scroll wheel (Chris
B)
Diffstat (limited to 'hw/xwin/win.h')
-rw-r--r-- | hw/xwin/win.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/xwin/win.h b/hw/xwin/win.h index 3660b9623..33e874f1c 100644 --- a/hw/xwin/win.h +++ b/hw/xwin/win.h @@ -48,6 +48,17 @@ #define CYGDEBUG NO #endif +/* WM_XBUTTON Messages. They should go into w32api. */ +#ifndef WM_XBUTTONDOWN +# define WM_XBUTTONDOWN 523 +#endif +#ifndef WM_XBUTTONUP +# define WM_XBUTTONUP 524 +#endif +#ifndef WM_XBUTTONDBLCLK +# define WM_XBUTTONDBLCLK 525 +#endif + #define NEED_EVENTS #define WIN_DEFAULT_BPP 0 |