Created zmouse.h, moved wheel code from mouse.h into it.
This commit is contained in:
parent
aad78b91f7
commit
124657f5a9
|
@ -134,7 +134,8 @@ INSTALLED_INCLUDES = \
|
||||||
winver.h \
|
winver.h \
|
||||||
wnaspi32.h \
|
wnaspi32.h \
|
||||||
wownt32.h \
|
wownt32.h \
|
||||||
wtypes.h
|
wtypes.h \
|
||||||
|
zmouse.h
|
||||||
|
|
||||||
EXTRASUBDIRS = bitmaps wine
|
EXTRASUBDIRS = bitmaps wine
|
||||||
|
|
||||||
|
|
|
@ -19,38 +19,7 @@ typedef struct _WINE_MOUSEEVENT
|
||||||
DWORD keyState;
|
DWORD keyState;
|
||||||
DWORD time;
|
DWORD time;
|
||||||
HWND hWnd;
|
HWND hWnd;
|
||||||
|
|
||||||
} WINE_MOUSEEVENT;
|
} WINE_MOUSEEVENT;
|
||||||
|
|
||||||
/***********************************
|
|
||||||
* MouseWheel support (defines)
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG"
|
|
||||||
|
|
||||||
#define WHEEL_DELTA 120
|
|
||||||
|
|
||||||
#define MOUSEZ_CLASSNAME "MouseZ"
|
|
||||||
#define MOUSEZ_TITLE "Magellan MSWHEEL"
|
|
||||||
|
|
||||||
#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME)
|
|
||||||
#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE)
|
|
||||||
|
|
||||||
#define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG"
|
|
||||||
|
|
||||||
#define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG"
|
|
||||||
|
|
||||||
#ifndef WHEEL_PAGESCROLL
|
|
||||||
#define WHEEL_PAGESCROLL (UINT_MAX)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef SPI_SETWHEELSCROLLLINES
|
|
||||||
#define SPI_SETWHEELSCROLLLINES 105
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/* MouseWheel support
|
|
||||||
***********************************/
|
|
||||||
|
|
||||||
#endif /* __WINE_MOUSE_H */
|
#endif /* __WINE_MOUSE_H */
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
/*
|
||||||
|
* Scroll wheel mouse definitions
|
||||||
|
*
|
||||||
|
* Copyright (C) 2000 CodeWeavers
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __WINE_ZMOUSE_H
|
||||||
|
#define __WINE_ZMOUSE_H
|
||||||
|
|
||||||
|
#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG"
|
||||||
|
|
||||||
|
#define MOUSEZ_CLASSNAME "MouseZ"
|
||||||
|
#define MOUSEZ_TITLE "Magellan MSWHEEL"
|
||||||
|
|
||||||
|
#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME)
|
||||||
|
#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE)
|
||||||
|
|
||||||
|
#define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG"
|
||||||
|
|
||||||
|
#define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG"
|
||||||
|
|
||||||
|
#define WHEEL_DELTA 120
|
||||||
|
|
||||||
|
#ifndef WHEEL_PAGESCROLL
|
||||||
|
#define WHEEL_PAGESCROLL (UINT_MAX)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SPI_SETWHEELSCROLLLINES
|
||||||
|
#define SPI_SETWHEELSCROLLLINES 105
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __WINE_ZMOUSE_H */
|
Loading…
Reference in New Issue