1998-11-08 13:21:35 +01:00
|
|
|
/*
|
|
|
|
* MOUSE driver interface
|
|
|
|
*
|
|
|
|
* Copyright 1998 Ulrich Weigand
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_MOUSE_H
|
|
|
|
#define __WINE_MOUSE_H
|
|
|
|
|
1999-04-01 10:16:08 +02:00
|
|
|
#include "windef.h"
|
2000-06-08 06:57:22 +02:00
|
|
|
#include "user.h"
|
1998-11-08 13:21:35 +01:00
|
|
|
|
|
|
|
/* Wine internals */
|
|
|
|
|
|
|
|
#define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' )
|
|
|
|
typedef struct _WINE_MOUSEEVENT
|
|
|
|
{
|
|
|
|
DWORD magic;
|
|
|
|
DWORD keyState;
|
|
|
|
DWORD time;
|
1999-02-26 12:11:13 +01:00
|
|
|
HWND hWnd;
|
1998-11-08 13:21:35 +01:00
|
|
|
|
|
|
|
} WINE_MOUSEEVENT;
|
|
|
|
|
1998-12-15 16:38:36 +01:00
|
|
|
/***********************************
|
|
|
|
* 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
|
|
|
|
***********************************/
|
|
|
|
|
1998-11-08 13:21:35 +01:00
|
|
|
#endif /* __WINE_MOUSE_H */
|
|
|
|
|