32#ifdef HAVE_SYS_IOCTL_H
38#define MAXJOYSTICK (JOYSTICKID2 + 30)
39#define JOY_PERIOD_MIN (10)
40#define JOY_PERIOD_MAX (1000)
69 WARN(
"OpenDriverA(\"winejoystick.drv\") failed\n");
72 winejoystick_missing =
TRUE;
87 unsigned buttonChange;
112 (buttonChange << 8) | (ji.
wButtons & buttonChange),
pos);
115 (buttonChange << 8) | (joy->
ji.
wButtons & buttonChange),
pos);
218 TRACE(
"(%d, %p);\n", wID, lpInfo);
243 TRACE(
"(%d, %p);\n", wID, lpInfo);
261 TRACE(
"(%04X, %p);\n", wID, lpThreshold);
274 TRACE(
"(%04X);\n", wID);
292 TRACE(
"(%p, %04X, %d, %d);\n",
hWnd, wID, wPeriod, bChanged);
318 TRACE(
"(%04X, %d);\n", wID, wThreshold);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define WideCharToMultiByte
HDRVR WINAPI OpenDriverA(LPCSTR lpDriverName, LPCSTR lpSectionName, LPARAM lParam)
LRESULT WINAPI SendDriverMessage(HDRVR hDriver, UINT msg, LPARAM lParam1, LPARAM lParam2)
MMRESULT WINAPI joyGetThreshold(UINT wID, LPUINT lpThreshold)
MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetPosEx(UINT wID, LPJOYINFOEX lpInfo)
MMRESULT WINAPI joyGetPos(UINT wID, LPJOYINFO lpInfo)
MMRESULT WINAPI joyConfigChanged(DWORD flags)
static void CALLBACK JOY_Timer(HWND hWnd, UINT wMsg, UINT_PTR wTimer, DWORD dwTime)
MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetDevCapsA(UINT_PTR wID, LPJOYCAPSA lpCaps, UINT wSize)
MMRESULT WINAPI joySetCapture(HWND hWnd, UINT wID, UINT wPeriod, BOOL bChanged)
struct tagWINE_JOYSTICK WINE_JOYSTICK
UINT WINAPI DECLSPEC_HOTPATCH joyGetNumDevs(void)
MMRESULT WINAPI joySetThreshold(UINT wID, UINT wThreshold)
MMRESULT WINAPI DECLSPEC_HOTPATCH joyGetDevCapsW(UINT_PTR wID, LPJOYCAPSW lpCaps, UINT wSize)
MMRESULT WINAPI joyReleaseCapture(UINT wID)
static BOOL JOY_LoadDriver(DWORD dwJoyID)
static WINE_JOYSTICK JOY_Sticks[MAXJOYSTICK]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define MMSYSERR_NODRIVER
#define MMSYSERR_INVALPARAM
#define MM_JOY1BUTTONDOWN
unsigned __int3264 UINT_PTR
#define DECLSPEC_HOTPATCH
CHAR szPname[MAXPNAMELEN]
CHAR szRegKey[MAXPNAMELEN]
CHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]
WCHAR szOEMVxD[MAX_JOYSTICKOEMVXDNAME]
WCHAR szPname[MAXPNAMELEN]
WCHAR szRegKey[MAXPNAMELEN]
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
BOOL WINAPI IsWindow(_In_opt_ HWND)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)