Commit Graph
875 Commits
Author SHA1 Message Date
Vasily 5b23247667 Make DesktopOverlay use public getter instead of explicit settings call
Using the getter is clearer and leads to less code duplication.
2019-12-10 08:28:41 +01:00
Vasily ba30e0054f Convert m_dragBounds to new settings API 2019-12-10 08:28:41 +01:00
Vasily 89699825bf Remove MoveCenterTabController::outputLogSettings
If settings changes are logged to console it should be handled in the
settings API.
2019-12-10 08:28:41 +01:00
Vasily f91328298b Convert m_settingsRightHandTurnEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily 1061c39252 Convert m_settingsLeftHandTurnEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily c1b1756ccf Convert m_settingsLeftHandDragEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily a81eb2cbf4 Convert m_settingsRightHandDragEnabled to new settings API 2019-12-10 08:28:41 +01:00
Vasily 289de29d69 Convert m_adjustChaperone to new settings API 2019-12-10 08:28:41 +01:00
Vasily 9755ffac64 Convert m_lockYToggle to new settings API 2019-12-10 08:28:41 +01:00
Vasily d5b98f8452 Convert m_lockZToggle to new settings API 2019-12-10 08:28:41 +01:00
Vasily 866d48cc9e Convert m_lockXToggle to new settings API 2019-12-10 08:28:41 +01:00
Vasily 92f1c59104 Convert DesktopOverlay to new settings API 2019-12-10 08:28:41 +01:00
Vasily c8a0e41bfe Remove features related to desktop overlay translation
The feature was killed by Valve and is not likely to come back.
2019-12-10 08:28:41 +01:00
Vasily 724bc51a15 Fix indentation in resources.pri 2019-12-10 08:28:41 +01:00
Vasily 6cf3b582f6 Fix QVariant not recognizing convertable types
The QMetaType did not correctly recognize that bools and doubles were
convertable from QVariant.

The new method is more robust.
2019-12-03 08:26:10 +01:00
Vasily 4eb8a35d6b Add remaining int settings from initStage1 to new API
The settings API does not deal with unsigned ints, it is the
responsibility of the calling function to ensure that values are savable
as signed ints.
2019-12-03 08:26:10 +01:00
Vasily 3c3590539d Add remaining double/bool settings in initStage1 2019-12-03 08:26:10 +01:00
Vasily c2796273e7 Add adjustChaperone setting to BoolSetting
Meant to act as an example of how to add new settings.
2019-12-03 08:26:10 +01:00
Vasily d73fcf3443 Change MoveCenterTabController::initStage1 from QSettings to new API
Only the existing changes were moved.
The remaining were not initially added because they didn't show up in
the .ini files I based my initial prototypes on.
2019-12-03 08:26:10 +01:00
Vasily ca489200be Remove unnecessary settings file path logging call in DesktopOverlay 2019-12-03 08:26:10 +01:00
Vasily c1690056cc Add settings API and specification
The details of the API are in the `/docs/specsSettings-API.md` file.

The enums do not list all available settings, more are to be added as
the settings API replaces inline QSettings calls.
2019-12-03 08:26:10 +01:00
Vasily 61fd3dde79 Change m_window function call from -> to . 2019-11-30 18:14:49 +01:00
Vasily 2578f3b32e Update version string to 4.0.1-dev from 4.0.1-release
String was mistakenly not changed back after release bins were built.
2019-11-30 18:14:49 +01:00
Vasily 6e04c77be2 Change name of m_pWindow in Linux only section
Name was not changed by tooling due to being in a Linux ifdef.
2019-11-30 18:14:49 +01:00
Vasily 8300f5395e Convert m_pPumpEventsTimer into object
Having an extra layer of indirection was unnecessary.

The if statement guard to check if the pointer is null is now
unnecessary.
2019-11-30 18:14:49 +01:00
Vasily 96e80ec3ce Convert m_pOffscreenSurface from pointer to object 2019-11-30 18:14:49 +01:00
Vasily 8136569455 Convert m_pOpenGLContext from pointer to object 2019-11-30 18:14:49 +01:00
Vasily 6c04dd25b1 Convert m_pWindow from pointer to object
The extra layer of indirection was unnecessary and had no benefit.
2019-11-30 18:14:49 +01:00
Vasily 2b9b3d653a Convert m_pRenderControl from smart pointer to object
Having it be a pointer was an unnecessary complication with no gain.
2019-11-30 18:14:49 +01:00
Vasily a237168ef7 Remove bindings page from Readme.md
Bindings page was deprecated with the API feature of opening the
bindings interace.
2019-11-14 20:59:31 +01:00
ykeara 07835facec changed colors to not default to dim on some systems during upgrade (#319) 2019-11-10 17:36:24 -06:00
Kung-vr 95b419414e Merge pull request #318 from OpenVR-Advanced-Settings/bigger-gainz
Increase the max gain on color to 9999
2019-11-11 04:32:30 +09:00
Kung-vr 9168a022bb Increase the max gain on color to 9999
higher values are only possible via direct textbox input
2019-11-11 04:10:13 +09:00
Kung-vr e5061aee47 Merge pull request #317 from OpenVR-Advanced-Settings/openssl-package
Add binaries for openssl to windows distribution
2019-11-11 02:23:35 +09:00
Kung-vr 89f5443a41 Fix adding openssl license to installer 2019-11-11 01:48:43 +09:00
Kung-vr d48648f17c Add binaries for openssl to windows distribution
Binaries are both v 1.1.1c from what's optionally included with Qt
2019-11-11 01:40:23 +09:00
ykeara 2bddedf372 4.0.0 release (desktop overlay adjustment removal, bindings tab/button change, documentation update) (#315)
* removed desktop overlay tab moved width to steamvrtab

* added binding page launch button

* changed binding page button location

* removed binding page and associated resources

* clarified functionality via text update to desktop width box

* updated version string

* changed string to release

* updated photos

* updated ivrscreenshot

* updated documentation

* removed old qml references

* added missing actions to documentation

* hid audio profiles
2019-11-10 10:31:43 -06:00
ykeara 4a98ed436e update ovr to 1.8.19, audio key update (#314)
* added get/setters for override keys

* adjusted QML for new overrides and proper initialized

* replaced work-around key with proper key

* removed workaround from header

* updated OVR to 1.8.19

* changed other new audio variables

* temporarily disabled audio profiles as required api keys are questionable use-ability atm
2019-11-09 10:16:14 -06:00
ykeara 05c12cd4a0 Re-Add color overlay (#311)
* fixed Chaperone toggle, toggle state on launch

* made update rates based on variable frame rate assuming 90 default

* added overlay color back in

* fixed opacity value not synching

* updated to ovr 1.8.19

* fixed license issue

* rolled back ovr update

* fixed overlay toggle state, formatting, and clamped max opacity to .85%
2019-11-08 14:45:26 -06:00
username223 b148a3d6de Update controller binding port in docs (#312)
This was changed by Valve in a recent patch on live SteamVR.
2019-11-08 10:38:28 -06:00
Kung-vr 581e860530 Merge pull request #308 from OpenVR-Advanced-Settings/version-check
Add version checking feature
2019-11-08 09:25:16 +09:00
Kung-vr dca2557373 Update overlaycontroller.cpp 2019-11-07 05:50:28 +09:00
Kung-vr f964241656 Add version checking feature
Addresses #305
2019-11-07 05:18:04 +09:00
Vasily 43d95d0ece Add icons for main menu buttons, ability for buttons in general
The current interface is almost exclusively in written English.
This makes usage of the program more difficult for people who can't
distinguish English words, or remember specific VR/English technical
terminology.

Adding small icons to main menu items will make it easier for the
aforementioned groups to use the application.

This also adds the ability for buttons in general to have a custom icon,
if necessary.
2019-11-04 18:00:06 +01:00
Kung-vr 1d321cf8d0 Merge pull request #299 from OpenVR-Advanced-Settings/drag-distance-sanity-check
Add bindings guide and sanity check on space drag distance per frame, update docs
2019-10-28 07:59:15 +09:00
Kung-vr 525c3d704c Fix typo in Readme.md 2019-10-27 17:14:25 +09:00
Kung-vr 218c153a6c Update Docs for bindings page and ini file, fix QML log spam 2019-10-27 16:54:42 +09:00
Kung-vr d0c2520b64 Add bindings page and apply autosave chaperone on offset clamp 2019-10-27 00:39:01 +09:00
Kung-vr 1a67b80ef3 Add a sanity check on space drag distance per frame
Limits space drag to 100m per frame. This is to address a bug where universe offset openvr clamping triggering a reset might send the play back out of bounds because an active hand drag repositioned them back there (moving the user either 1000m or 40,000m in a single frame.
2019-10-26 01:12:36 +09:00
Kung-vr cbe6678cae Merge pull request #298 from OpenVR-Advanced-Settings/seated-debug
Seated debug
2019-10-22 00:34:52 +09:00