Interface for event consumers that can be registered with the OpenVR instance.
More...
#include <OpenVR.hh>
|
virtual bool | processEvent (const vr::VREvent_t *event, bool is_consumed)=0 |
| Process an incoming OpenVR event and return true if the event was acted upon. More...
|
|
Interface for event consumers that can be registered with the OpenVR instance.
◆ processEvent()
virtual bool gramods::gmCore::OpenVR::EventConsumer::processEvent |
( |
const vr::VREvent_t * |
event, |
|
|
bool |
is_consumed |
|
) |
| |
|
pure virtual |
Process an incoming OpenVR event and return true if the event was acted upon.
- Parameters
-
event | The OpenVR event to process. |
is_consumed | Set to true if another event consumer has acted upon the event. |
- Returns
- True if the event has been acted upon, false otherwise.
The documentation for this struct was generated from the following file:
- /home/karlu/private/program/gramods/modules/gmCore/include/gmCore/OpenVR.hh