Skip to content

Commit

Permalink
Print L1 status each time state is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
streetpea committed Oct 31, 2024
1 parent a60423c commit 6393cb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gui/src/streamsession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,7 @@ void StreamSession::DpadSendFeedbackState()
}
chiaki_controller_state_or(&state, &state, &dpad_touch_state);
chiaki_session_set_controller_state(&session, &state);
CHIAKI_LOGI(GetChiakiLog(), "L1 is %s", state.buttons & CHIAKI_CONTROLLER_BUTTON_L1 ? "PRESSED" : "UNPRESSED");
}

void StreamSession::SendFeedbackState()
Expand Down Expand Up @@ -1017,6 +1018,7 @@ void StreamSession::SendFeedbackState()
}
chiaki_controller_state_or(&state, &state, &dpad_touch_state);
chiaki_session_set_controller_state(&session, &state);
CHIAKI_LOGI(GetChiakiLog(), "L1 is %s", state.buttons & CHIAKI_CONTROLLER_BUTTON_L1 ? "PRESSED" : "UNPRESSED");
}

void StreamSession::InitAudio(unsigned int channels, unsigned int rate)
Expand Down

0 comments on commit 6393cb0

Please sign in to comment.