MCPcopy Create free account
hub / github.com/LibreVR/Revive / IsReleased

Method IsReleased

Revive/InputManager.h:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 bool IsReleased(vr::VRActionHandle_t action)
53 {
54 vr::InputDigitalActionData_t data = {};
55 vr::VRInput()->GetDigitalActionData(action, &data, sizeof(data), Handle);
56 return data.bChanged && !data.bState;
57 }
58
59 OVR::Vector2f GetAnalog(vr::VRActionHandle_t action)
60 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected