pcem/src/win.h
SarahW 7980438e1f Reworking of joystick support :
- Joystick type now selectable
- Added emulation of standard joysticks with up to 8 buttons
- Added emulation of Microsoft Sidewinder pads
- Host->emulated joystick button & axis mapping now configurable (only on Windows atm)
- Gameport registers now take 1us to access - helps Sidewinder drivers
2016-06-21 22:00:31 +01:00

35 lines
677 B
C

extern HINSTANCE hinstance;
extern HWND ghwnd;
extern int mousecapture;
#ifdef __cplusplus
extern "C" {
#endif
#define szClassName "PCemMainWnd"
#define szSubClassName "PCemSubWnd"
void leave_fullscreen();
#ifdef __cplusplus
}
#endif
void status_open(HWND hwnd);
extern HWND status_hwnd;
extern int status_is_open;
void hdconf_open(HWND hwnd);
void config_open(HWND hwnd);
void deviceconfig_open(HWND hwnd, struct device_t *device);
void joystickconfig_open(HWND hwnd, int joy_nr, int type);
extern char openfilestring[260];
int getfile(HWND hwnd, char *f, char *fn);
int getsfile(HWND hwnd, char *f, char *fn);
extern int pause;