allow disabling touchbar + use timestamp from the bmi323
This commit is contained in:
parent
bb4ff25130
commit
358fba86d6
15 changed files with 77 additions and 67 deletions
16
stray_ally.c
16
stray_ally.c
|
|
@ -12,6 +12,15 @@ static const char* configuration_file = "/etc/ROGueENEMY/config.cfg";
|
|||
int main(int argc, char ** argv) {
|
||||
int ret = 0;
|
||||
|
||||
dev_out_settings_t out_settings = {
|
||||
.default_gamepad = 0,
|
||||
.nintendo_layout = false,
|
||||
.gamepad_leds_control = true,
|
||||
.gamepad_rumble_control = true,
|
||||
};
|
||||
|
||||
load_out_config(&out_settings, configuration_file);
|
||||
|
||||
// Create a signal set containing only SIGTERM
|
||||
sigset_t mask;
|
||||
sigemptyset(&mask);
|
||||
|
|
@ -42,12 +51,7 @@ int main(int argc, char ** argv) {
|
|||
}
|
||||
}
|
||||
},
|
||||
.settings = {
|
||||
.default_gamepad = 0,
|
||||
.nintendo_layout = false,
|
||||
.gamepad_leds_control = true,
|
||||
.gamepad_rumble_control = true,
|
||||
}
|
||||
.settings = out_settings,
|
||||
};
|
||||
|
||||
load_out_config(&dev_out_thread_data.settings, configuration_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue