openxr indentation;
@@ -646,9 +646,7 @@ static bool getButtonState(Device device, DeviceButton button, bool* value, bool
default: return false;
}
- XrActionStateBoolean actionState = {
- .type = XR_TYPE_ACTION_STATE_BOOLEAN,
- };
+ XrActionStateBoolean actionState = { .type = XR_TYPE_ACTION_STATE_BOOLEAN };
XR(xrGetActionStateBoolean(state.session, &info, &actionState));
*value = actionState.currentState;
*changed = actionState.changedSinceLastSync;
@@ -671,9 +669,7 @@ static bool getFloatAction(uint32_t action, XrPath filter, float* value) {
.subactionPath = filter
};
- XrActionStateFloat actionState = {
- .type = XR_TYPE_ACTION_STATE_FLOAT,
- };
+ XrActionStateFloat actionState = { .type = XR_TYPE_ACTION_STATE_FLOAT };
XR(xrGetActionStateFloat(state.session, &info, &actionState));
*value = actionState.currentState;
return actionState.isActive;
