Code: Select all
ui/core/lua/loading.lua
--------------------------------------
bool IsVRMode();
bool IsVRVersion();
bool IsVROculusTouchActive();
bool IsVRViveControllerActive();
[...]
function initVRTexts()
-- gamepad
local groupElement = getElement("vr_gamepad", private.screenshotElement)
[...]
-- vive
groupElement = getElement("vr_vive", private.screenshotElement)
[...]
-- oculus 1
groupElement = getElement("vr_oculus_1", private.screenshotElement)
[...]
-- oculus 2
groupElement = getElement("vr_oculus_2", private.screenshotElement)
[...]
-- oculus 3
groupElement = getElement("vr_oculus_3", private.screenshotElement)
end
Code: Select all
ui/core/lua/vr_pointer.lua
-------------------------------------
-- Presentation specific callbacks --
-------------------------------------
function onVRPointerChanged(_, enabled)
[...]
Please move to the correct section if this is the incorrect sub-forum