Add page to change desktop overlay translation
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.
This commit is contained in:
@@ -32,7 +32,7 @@ DISTFILES += \
|
||||
src/res/qml/utilities_page/* \
|
||||
src/res/qml/utilities_page/media_keys/* \
|
||||
src/res/qml/utilities_page/keyboard_utils/* \
|
||||
src/res/qml/utilities_page/desktop_size/* \
|
||||
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/* \
|
||||
@@ -40,5 +40,9 @@ DISTFILES += \
|
||||
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
|
||||
|
||||
@@ -16,7 +16,8 @@ SOURCES += src/main.cpp\
|
||||
src/openvr/openvr_init.cpp \
|
||||
src/openvr/ivrinput.cpp \
|
||||
src/utils/setup.cpp \
|
||||
src/utils/paths.cpp
|
||||
src/utils/paths.cpp \
|
||||
src/openvr/overlay_utils.cpp
|
||||
|
||||
HEADERS += src/overlaycontroller.h \
|
||||
src/tabcontrollers/AudioTabController.h \
|
||||
@@ -43,7 +44,8 @@ HEADERS += src/overlaycontroller.h \
|
||||
src/openvr/ivrinput_input_source.h \
|
||||
src/openvr/ivrinput.h \
|
||||
src/utils/setup.h \
|
||||
src/utils/paths.h
|
||||
src/utils/paths.h \
|
||||
src/openvr/overlay_utils.h
|
||||
|
||||
win32 {
|
||||
SOURCES += src/tabcontrollers/audiomanager/AudioManagerWindows.cpp \
|
||||
|
||||
Reference in New Issue
Block a user