0684a4811e
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.
27 lines
448 B
C
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);
|