Add chiaki_controller_state_or()

This commit is contained in:
Florian Märkl 2019-07-10 11:06:30 +02:00
commit 5c1611b52e
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
3 changed files with 18 additions and 2 deletions

View file

@ -223,8 +223,7 @@ void StreamSession::SendFeedbackState()
}
#endif
state.buttons |= keyboard_state.buttons;
chiaki_controller_state_or(&state, &state, &keyboard_state);
chiaki_session_set_controller_state(&session, &state);
}