name joystick
file joystick.drv
type win32

import winmm.dll
import advapi32.dll
import user32.dll
import kernel32.dll
import ntdll.dll

debug_channels (joystick)

@ stdcall DriverProc(long long long long long) JSTCK_DriverProc

# Wine DirectInput entry points
@ stdcall dijoy_GetGuid(long ptr) DIJOY_GetGuid
@ stdcall dijoy_GetDevInfo(long long ptr ptr) DIJOY_GetDevInfo
@ stdcall dijoy_OpenDIDev(long long) DIJOY_OpenDIDev
@ stdcall dijoy_CloseDIDev(long) DIJOY_CloseDIDev
@ stdcall dijoy_GetDIDataFormat(long ptr) DIJOY_GetDIDataFormat
@ stdcall dijoy_GetDIData(long long ptr ptr ptr) DIJOY_GetDIData
@ stdcall dijoy_GetEffectInfo(long ptr ptr) DIJOY_GetEffectInfo
@ stdcall dijoy_GetEffectStatus(long long long) DIJOY_GetEffectStatus
@ stdcall dijoy_SetAutoCenter(long long) DIJOY_SetAutoCenter
@ stdcall dijoy_SetGain(long long) DIJOY_SetGain
@ stdcall dijoy_UnloadEffect(long long) DIJOY_UnloadEffect
@ stdcall dijoy_LoadEffect(long ptr long ptr ptr) DIJOY_LoadEffect
@ stdcall dijoy_StopEffect(long long) DIJOY_StopEffect
@ stdcall dijoy_StartEffect(long long long) DIJOY_StartEffect
