mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Implement basic keyboard & mouse support for openvr overlays
This commit is contained in:
parent
f91aa639d6
commit
734688ff7e
6 changed files with 167 additions and 21 deletions
|
|
@ -57,6 +57,7 @@ public:
|
|||
|
||||
bool mOverlayTypeDirty; ///< Overlay type is dirty
|
||||
bool mOverlayDirty; ///< Overlay properties are dirty
|
||||
bool mManualMouseHandling;
|
||||
OverlayType mOverlayType;
|
||||
|
||||
//
|
||||
|
|
@ -89,7 +90,12 @@ public:
|
|||
void moveGamepadFocusToNeighbour();
|
||||
|
||||
void handleOpenVREvents();
|
||||
void updateTextControl(GuiControl* ctrl);
|
||||
void onFrameRendered();
|
||||
|
||||
virtual void enableKeyboardTranslation();
|
||||
virtual void disableKeyboardTranslation();
|
||||
virtual void setNativeAcceleratorsEnabled(bool enabled);
|
||||
};
|
||||
|
||||
typedef OpenVROverlay::OverlayType OpenVROverlayType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue