3dscontroller-ng/PC/include/settings.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

27 lines
448 B
C

#pragma once
#include <stdbool.h>
#include "keys.h"
enum analogue {
mouse,
joystick1,
joystick2,
};
struct settings {
int port;
int throttle;
enum analogue circlePad;
enum analogue cStick;
enum analogue touch;
int mouseSpeed;
UINT vJoyDevice;
struct keyMapping A, B, X, Y, L, R, ZL, ZR, Left, Right, Up, Down, Start, Select, Tap;
};
extern struct settings settings;
extern struct settings defaultSettings;
bool readSettings(void);