2006-02-25 20:50:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
enum JOYNUM {JN_JOYSTICK0=0, JN_JOYSTICK1};
|
|
|
|
|
|
|
|
extern DWORD joytype[2];
|
|
|
|
|
|
|
|
void JoyInitialize ();
|
|
|
|
BOOL JoyProcessKey (int,BOOL,BOOL,BOOL);
|
|
|
|
void JoyReset ();
|
2007-08-06 21:38:35 +00:00
|
|
|
void JoySetButton (eBUTTON,eBUTTONSTATE);
|
2006-02-25 20:50:29 +00:00
|
|
|
BOOL JoySetEmulationType (HWND,DWORD,int);
|
|
|
|
void JoySetPosition (int,int,int,int);
|
|
|
|
void JoyUpdatePosition ();
|
|
|
|
BOOL JoyUsingMouse ();
|
|
|
|
void JoySetTrim(short nValue, bool bAxisX);
|
|
|
|
short JoyGetTrim(bool bAxisX);
|
|
|
|
DWORD JoyGetSnapshot(SS_IO_Joystick* pSS);
|
|
|
|
DWORD JoySetSnapshot(SS_IO_Joystick* pSS);
|
|
|
|
|
2007-05-28 11:16:42 +00:00
|
|
|
BYTE __stdcall JoyReadButton (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall JoyReadPosition (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|
|
|
|
BYTE __stdcall JoyResetPosition (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|