2014-12-05 20:03:50 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef WINVER
|
|
|
|
#define WINVER 0x0500
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include "public.h"
|
|
|
|
#include "vjoyinterface.h"
|
|
|
|
|
2015-03-21 12:28:25 +00:00
|
|
|
#define joyX iReport.wAxisX
|
|
|
|
#define joyY iReport.wAxisY
|
2015-09-06 09:31:30 +09:30
|
|
|
#define joyRX iReport.wAxisXRot
|
|
|
|
#define joyRY iReport.wAxisYRot
|
2015-10-03 21:25:41 -05:00
|
|
|
//#define joyVolume iReport.wSlider
|
|
|
|
#define joyVolume iReport.wAxisZ
|
2015-10-03 20:25:46 -05:00
|
|
|
#define povHat iReport.bHats
|
|
|
|
|
2015-03-21 12:28:25 +00:00
|
|
|
#define joyButtons iReport.lButtons
|
|
|
|
|
2014-12-19 19:17:25 +00:00
|
|
|
#define JOY_MIDDLE (128 * 128)
|
|
|
|
|
2014-12-05 20:03:50 +00:00
|
|
|
extern int ContPovNumber;
|
|
|
|
extern UINT iInterface;
|
2015-03-21 12:28:25 +00:00
|
|
|
//extern BOOL ContinuousPOV;
|
|
|
|
|
|
|
|
extern JOYSTICK_POSITION iReport;
|
2014-12-05 20:03:50 +00:00
|
|
|
|
2015-03-21 12:28:25 +00:00
|
|
|
BOOL updateJoystick(void);
|