Commit Graph
141 Commits
Author SHA1 Message Date
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
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
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 2a63525fba Make double recenter behavior default and cleanup debug code
This also adds the option "simpleRecenter" which can be set to true in the ini playspace settings to get single (non loop) recenter behavior back.
2019-10-21 13:55:21 +09:00
Kung-vr 4dea88bd75 Set up double request seated recenter 2019-10-21 12:01:15 +09:00
Kung-vr 8bc938e819 Swap debugging sleep function for cross platform method 2019-10-20 20:16:53 +09:00
Kung-vr 9fd379c7f9 Add debug states for testing seated recenter
Settings: enable seated motion -> unchecked + debug state 1~6 adds a slight delay then performs ReloadFromDisk (to test if ReloadFromDisk alone is causing the snap back)

Settings: enable seated motion-> checked + debug state 100+ adds a delay before ReloadFromDisk equal to debug state-100 ms. Then proceeds as normal
2019-10-20 19:32:05 +09:00
Kung-vr 1629838b21 Reimplement chaperone height slider for OVRAS 3.0 motion
Addresses #264
2019-10-19 02:27:34 +09:00
Kung-vr 17e038bf1d Rework seated-universe motion 2019-10-16 15:47:05 +09:00
Kung-vr f05f6f7deb Swap default to unchecked enable seated motion and add debug states 2019-10-13 17:02:15 +09:00
Kung-vr 2e6dd3b8fe Add chaperone autoprofiles, crash recovery, and space fix revert 2019-10-13 03:56:57 +09:00
Kung-vr 6dc7bc6837 Add offset profiles
Addresses #149
2019-10-02 15:25:03 +09:00
Kung-vr d3b4d30807 Settings Tab new options for seated motion and recentering 2019-10-02 12:40:01 +09:00
Kung-vr 93913b6e94 Add safeguards for exceeding new max OpenVR offsets 2019-09-29 03:11:34 +09:00
Kung-vr 92625d7f98 Operate motion only in workingsetpreview 2019-09-22 03:32:30 +09:00
Kung-vr 229b11b3c8 Prevent applictaion of uninitialized chaperone basis 2019-09-18 00:29:00 +09:00
Vasily 1975192bb1 Remove widget pointer from MoveCenterTabController
The pointer is not needed and is an anti pattern.
2019-07-20 21:24:03 +02:00
Kung-vr 01a6d8d361 Patch WMR Floor Fix and add Force Bounds on motion (#237)
* Update FixFloorTabController.cpp

Adds an extra offsets tab reset after floor fix to make sure the fix is visible for WMR users.

* Add Force Bounds on Motion

Adds forcing chaperone bounds on space-turn and space-drag. Addresses #183

* Update Motion Page Screenshot for Force Bounds

* Update docs for Force Bounds on motion options
2019-07-03 15:15:18 -05:00
Kung-vr beb006f75d Add smooth turn and universe centered rotation 2019-06-22 00:30:19 +09:00
Kung-vr 591ea90383 Add some settings logging 2019-04-21 17:58:25 +09:00
Kung-vr 48f0743bf9 Add Old-Style Motion Setting 2019-04-21 17:57:39 +09:00
Kung-vr fcbc11e659 Fix possible startup issue on WMR (#160)
* Add more checks for zero quads count for WMR

* Delay initial zeroOffsets() to init stage2

* Re-add OpenVR 1.3.22 libraries
2019-04-17 12:56:27 -05:00
Kung-vr 9791455cbf Reload chaperone warnings on motion halt 2019-04-14 17:55:16 +09:00
Kung-vr c3e9d7afe4 Fix chaperone updates not updating chaperone warnings reference (#154) 2019-04-13 14:48:24 -05:00
Kung-vr b32d621994 Implement Seated Universe and Raw (Room Setup) Universe Support (#150)
* Add checks for seated improve shutdown state

Seated mode chaperone update is still broken. Normal standing mode space motion needs testing on WMR and Rift

* Fix updating chaperone on room setup completion

* Implement seated universe recenter/offsets/motion

Addresses #145

* Add Option "Allow External App Chaperone Edits"

This option is added to the settings tab. It allows external apps to modify the chaperone but only if the current offset is 0,0,0 and rotation is 0. The option is disabled by default.
2019-04-12 13:46:06 -05:00
Kung-vr bcdf87b0f5 WMR/Rift bind release reset fix and space fix undo disable (#142)
* Test removal of HideWorkingSetPreview for issue #133

* Update WorkingSetPreview on apply reset data for issue #133

* fixed bug to apply floor fix offsets properly

* updated version to 3.0.1

* format

* Prevent space offsets effect on fix floor measurement

* Reorder chaperone commit timing on reset

This is an attempt to smooth apparent ~0.1sec lag on first movement after using a reset.

* Fix space fix tab (todo: reimplement undo button)
2019-03-30 13:56:27 -05:00
Kung-vr ccfb22c3b2 Slight ui cleanup 2019-03-19 15:06:47 +09:00
Kung-vr 510e3291f4 Add snap turn angle settings ui 2019-03-19 15:05:29 +09:00
Kung-vr bdf4227e5c Clean up offsets tab ui 2019-03-19 15:05:02 +09:00
Kung-vr 925d67cf38 Implement gravity options and ui (#117) 2019-03-17 19:29:10 -05:00
Kung-vr ab69d3180c New chaperone adjust system and height toggle action (and Ykeara's PTT fix) (#108)
* Improve reset function and velocity timing

* fixed PTT checkbox error

* Rewrite of chaperone adjust. Make drift impossible

* Formatting

* fixed mic mute on exit

* format

* Clean up interactions with new chaperone adjust

* Remove commented code

* Implement height toggle action and ui
2019-03-15 16:49:44 -05:00
Kung-vr 282827d1ff Resubmit for appveyor 2019-03-10 00:16:00 +09:00
Kung-vr 566762ebce Improve clampVelocity parameter readability 2019-03-08 20:18:18 +09:00
Kung-vr 40b283e313 Add bindable axis lock actions 2019-03-07 17:19:17 +09:00
Kung-vr a00d2717e8 Implemented gravity 2019-03-06 20:37:14 +09:00
Kung-vr 884343783c Move quaternion functions to quaternion namespace 2019-03-04 01:39:33 +09:00
Kung-vr db54adaa4d Make drag hand swap action functional 2019-03-04 00:56:17 +09:00
Kung-vr f233a537a5 Make snap turn and reset offset binds functional 2019-03-03 20:41:29 +09:00
Kung-vr c0270fc965 temp change to avoid compiler warnings 2019-03-03 02:27:36 +09:00
Kung-vr f4373f4a99 Fix some implicit conversion warnings 2019-03-03 02:14:44 +09:00
Kung-vr 0f2f956b2e Manual Merge Cleanup 2019-03-03 01:02:53 +09:00
Kung-vr 53d5431da7 Add actions and placeholder functions to movecentertab 2019-03-02 23:54:27 +09:00
Kung-vr 55e0915fc4 Add motion page, comfort mode, rename "room" to "space" 2019-02-10 23:55:48 +09:00
Kung-vr 6a90f66b2e Split off hand-turn hand-drag and hmdrotation
Hand-turn hand-drag and hmdrotationstats counting are split off into separate functions from the event loop.
2019-02-03 22:42:50 +09:00
Kung-vr 5832eea951 Create quaternion.h to centralize quaternion math 2019-02-02 22:36:19 +09:00
Kung-vr ffdb47fcb6 Clarified invalid quaternion checking
Note: Considered NaN, however we use a placeholder invalid number rather than NaN because NaN can have unintuitive behavior when comparing as boolean.
2019-01-31 03:54:59 +09:00