Skip to content

Commit

Permalink
Don't bind pico4 actions if extension is unsupported;
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornbytes committed May 26, 2023
1 parent a7a4ea1 commit 4f29e39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/headset/headset_openxr.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,7 @@ static bool openxr_init(HeadsetConfig* config) {
// Don't suggest bindings for unsupported input profiles
if (!state.features.picoController) {
bindings[PROFILE_PICO_NEO3][0].path = NULL;
bindings[PROFILE_PICO4][0].path = NULL;
}

if (!state.features.viveTrackers) {
Expand Down

0 comments on commit 4f29e39

Please sign in to comment.