3dscontroller-ng/PC/include/settings.h

22 lines
342 B
C
Raw Normal View History

2014-12-06 13:29:38 +00:00
#pragma once
#include <stdbool.h>
enum analogue {
mouse,
joystick,
};
struct settings {
2014-12-13 19:20:11 +00:00
int throttle;
2014-12-06 13:29:38 +00:00
enum analogue circlePad;
enum analogue touch;
2014-12-13 19:40:25 +00:00
int mouseSpeed;
2014-12-06 13:29:38 +00:00
int A, B, X, Y, L, R, Left, Right, Up, Down, Start, Select, Tap;
};
extern struct settings settings;
extern struct settings defaultSettings;
bool readSettings(void);