Fix switch scope;

This commit is contained in:
bjorn 2017-03-11 21:10:13 -08:00
parent 49a0ba4d1c
commit f3dfbe518a
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,7 @@ void lovrHeadsetPoll() {
}
case EVREventType_VREvent_InputFocusCaptured:
case EVREventType_VREvent_InputFocusReleased:
case EVREventType_VREvent_InputFocusReleased: {
int isFocused = vrEvent.eventType == EVREventType_VREvent_InputFocusReleased;
EventData data = { .focus = { isFocused } };
Event event = { .type = EVENT_FOCUS, .data = data };
@ -165,6 +165,7 @@ void lovrHeadsetPoll() {
break;
}
}
}
}
int lovrHeadsetIsPresent() {