Code refactor
This commit is contained in:
parent
89f348f7c1
commit
d6e6162db5
21 changed files with 1342 additions and 1251 deletions
10
settings.h
10
settings.h
|
|
@ -6,8 +6,16 @@ typedef struct controller_settings {
|
|||
uint16_t ff_gain;
|
||||
int enable_qam;
|
||||
int nintendo_layout;
|
||||
|
||||
/**
|
||||
* 0 is virtual evdev
|
||||
* 1 is DualSense
|
||||
* 2 is DualShock
|
||||
* 3 is Xbox one
|
||||
*/
|
||||
int gamepad_output_device;
|
||||
} controller_settings_t;
|
||||
|
||||
void init_config(controller_settings_t *const conf);
|
||||
|
||||
int fill_config(controller_settings_t *const conf, const char* file);
|
||||
int fill_config(controller_settings_t *const conf, const char* file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue