You can now choose which vJoy device to output to in the .ini, allowing you to use multiple 3DS, each controlling their own virtual Joystick.
25 lines
436 B
C
25 lines
436 B
C
#pragma once
|
|
|
|
#ifndef WINVER
|
|
#define WINVER 0x0500
|
|
#endif
|
|
|
|
#include <windows.h>
|
|
|
|
#include "public.h"
|
|
#include "vjoyinterface.h"
|
|
|
|
#define joyX iReport.wAxisX
|
|
#define joyY iReport.wAxisY
|
|
#define joyRX iReport.wAxisXRot
|
|
#define joyRY iReport.wAxisYRot
|
|
#define joyButtons iReport.lButtons
|
|
|
|
#define JOY_MIDDLE (128 * 128)
|
|
|
|
extern int ContPovNumber;
|
|
//extern BOOL ContinuousPOV;
|
|
|
|
extern JOYSTICK_POSITION iReport;
|
|
|
|
BOOL updateJoystick(int);
|