UI: Relocate tas menu and add brief description
This commit is contained in:
parent
5401cf6eb5
commit
75d8ec1e9f
10 changed files with 150 additions and 70 deletions
|
@ -78,7 +78,7 @@ void ControllerDialog::InputController(ControllerInput input) {
|
|||
u32 buttons = 0;
|
||||
int index = 0;
|
||||
for (bool btn : input.button_values) {
|
||||
buttons += (btn ? 1 : 0) << index;
|
||||
buttons |= (btn ? 1U : 0U) << index;
|
||||
index++;
|
||||
}
|
||||
input_subsystem->GetTas()->RecordInput(buttons, input.axis_values);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue