The implementation is simple 3D vector scaling and addition. The HmdMatrix34_t consists of a 3x3 rotation matrix and a 3D vector for position. The overlay position is only updated whenever a new overlay is changed because we need the old overlay position in order to modify it. The openvr call to get the position is only updated whenever you open the menu. A new page was created due to lack of space on the utilities page.
49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
project_dir = $$PWD/../../
|
|
|
|
win32:LIBS += -L"$$project_dir/third-party/openvr/lib/win64" -luser32 -lole32
|
|
unix:LIBS += -L"$$project_dir/third-party/openvr/lib/linux64"
|
|
LIBS += -lopenvr_api
|
|
|
|
RESOURCES += src/res/resources.qrc
|
|
|
|
DISTFILES += \
|
|
src/res/sounds/alarm01.wav \
|
|
src/res/img/audio/microphone/ptt_notification.png \
|
|
src/res/img/audio/microphone/ptt_notification.svg \
|
|
src/res/img/battery/* \
|
|
src/res/img/icons/* \
|
|
src/res/qml/qmldir \
|
|
src/res/qml/audio_page/* \
|
|
src/res/qml/ChaperonePage.qml \
|
|
src/res/qml/ChaperoneWarningsPage.qml \
|
|
src/res/qml/FixFloorPage.qml \
|
|
src/res/qml/PlayspacePage.qml \
|
|
src/res/qml/motion_page/* \
|
|
src/res/qml/motion_page/gravity/* \
|
|
src/res/qml/motion_page/height_toggle/* \
|
|
src/res/qml/motion_page/snap_turn/* \
|
|
src/res/qml/motion_page/space_drag/* \
|
|
src/res/qml/motion_page/space_turn/* \
|
|
src/res/qml/RevivePage.qml \
|
|
src/res/qml/RootPage.qml \
|
|
src/res/qml/SettingsPage.qml \
|
|
src/res/qml/StatisticsPage.qml \
|
|
src/res/qml/SteamVRPage.qml \
|
|
src/res/qml/utilities_page/* \
|
|
src/res/qml/utilities_page/media_keys/* \
|
|
src/res/qml/utilities_page/keyboard_utils/* \
|
|
src/res/qml/desktop_overlay_page/desktop_size/* \
|
|
src/res/qml/utilities_page/alarm_clock/* \
|
|
src/res/qml/audio_page/dialog_boxes/* \
|
|
src/res/qml/audio_page/device_selector/* \
|
|
src/res/qml/audio_page/proximity/* \
|
|
src/res/qml/audio_page/push_to_talk/* \
|
|
src/res/qml/audio_page/profiles/* \
|
|
src/res/qml/common/* \
|
|
src/res/qml/desktop_overlay_page/* \
|
|
src/res/qml/desktop_overlay_page/translation_left_right/SteamDesktopTranslationLeftRight.qml \
|
|
src/res/qml/desktop_overlay_page/translation_back_forwards/SteamDesktopTranslationBackForwards.qml \
|
|
src/res/qml/desktop_overlay_page/translation_up_down/SteamDesktopTranslationUpDown.qml \
|
|
|
|
RC_FILE = src/res/icon.rc
|