3dscontroller-ng/PC/include/joystick.h
Poke 0684a4811e Made vJoy Device configurabe
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.
2015-10-16 16:34:36 +10:30

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);