mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-06 08:54:32 +00:00
Consolidated Save-State & Advanced prop sheets (now all on Advanced) Disable joystick emulation via mouse when mouse interface is enabled Support shift-f9 to cycle backwards through video modes Use DirectInput to get mouse delta (instead of absolute WM_MOUSEMOVE msg) Support Ctrl-Left Mouse Button to show the Windows cursor (otherwise GEOS never allows mouse to leave window) Fix for Blazing Paddles (mouse support)
24 lines
840 B
C
24 lines
840 B
C
#pragma once
|
|
|
|
enum JOYNUM {JN_JOYSTICK0=0, JN_JOYSTICK1};
|
|
|
|
extern DWORD joytype[2];
|
|
|
|
void JoyInitialize();
|
|
BOOL JoyProcessKey(int,BOOL,BOOL,BOOL);
|
|
void JoyReset();
|
|
void JoySetButton(eBUTTON,eBUTTONSTATE);
|
|
BOOL JoySetEmulationType(HWND,DWORD,int);
|
|
void JoySetPosition(int,int,int,int);
|
|
void JoyUpdatePosition();
|
|
BOOL JoyUsingMouse();
|
|
void JoyDisableUsingMouse();
|
|
void JoySetTrim(short nValue, bool bAxisX);
|
|
short JoyGetTrim(bool bAxisX);
|
|
DWORD JoyGetSnapshot(SS_IO_Joystick* pSS);
|
|
DWORD JoySetSnapshot(SS_IO_Joystick* pSS);
|
|
|
|
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);
|