3dscontroller-ng/PC/include/settings.h
2015-03-21 12:28:25 +00:00

24 lines
386 B
C

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