display selected profile + default profile added

This commit is contained in:
ykeara
2018-12-28 13:30:19 -06:00
parent b009cfa3e7
commit 541c82cbbf
5 changed files with 171 additions and 9 deletions
+2
View File
@@ -268,6 +268,7 @@ namespace advsettings {
savePttProfiles();
OverlayController::appSettings()->sync();
emit pttProfilesUpdated();
emit pttProfileAdded();
}
void PttController::applyPttProfile(unsigned index) {
@@ -403,6 +404,7 @@ namespace advsettings {
}
}
void logControllerState(const vr::VRControllerState_t& state, const std::string& prefix) {
if (state.ulButtonPressed & vr::ButtonMaskFromId(vr::k_EButton_ApplicationMenu)) {
LOG(INFO) << prefix << vr::VRSystem()->GetButtonIdNameFromEnum(vr::k_EButton_ApplicationMenu) << " pressed";