Commit Graph
95 Commits
Author SHA1 Message Date
Kung-vr 93913b6e94 Add safeguards for exceeding new max OpenVR offsets 2019-09-29 03:11:34 +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 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 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 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 db54adaa4d Make drag hand swap action functional 2019-03-04 00:56:17 +09:00
Kung-vr 3792488372 Merge branch 'master' into alpha-kung 2019-03-03 00:27:35 +09:00
Kung-vr 53d5431da7 Add actions and placeholder functions to movecentertab 2019-03-02 23:54:27 +09:00
Vitaly acb666a142 Remove old style casts and enable warnings for them 2019-02-21 18:48:53 +01: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 854681dcdf static constexpr to constexpr changes
static constexpr to constexpr changes for update counters and invalid quaternions and radians conversion
2019-01-31 03:37:15 +09:00
Kung-vr 31696863be Replace magic numbers, fix bindings localization
Replace magic numbers with constants and centralize settings update counters. Rename actions manifest localization from "en" to "en_US" (Thanks Ykeara)
2019-01-30 15:11:11 +09:00
Kung-vr 1d058dffcf Terminolgy Change: "Playspace" -> "Room"
Valve's official terminology are "Room Setup" and "Tracking Universe". Changed our usage of "Playspace" to "Room" for clarity with the upcoming Room-Turn feature and existing Room-Drag feature when compared to nomenclature for other tools that exits out there.

Also slight clean up in readability of movecentertab's action functions.
2019-01-29 01:11:47 +09:00
Kung-vr 775aaa7cd0 Support new steamvr input for playspace rotate and move 2019-01-28 02:45:29 +09:00
Kung-vr 499a0e3ede Fix rotation counter stats during rotation drag 2019-01-24 00:58:15 +09:00
Kung-vr 47920bfa74 Fix gimbal-lock when controller pointed up or down
Compare old and new pose via a relative quaternion rather than relative yaw, then calculate the resulting yaw-difference from the quaternion in one go.
2019-01-17 02:32:08 +09:00
Kung-vr 0c0a616691 Clean-up after merge 2019-01-17 02:01:23 +09:00
Kung-vr 6fcf0b1a54 Merge branch 'master' into alpha-kung 2019-01-17 01:55:12 +09:00
Kung-vr 089862e876 Apply fix for reset button rotation from alpha-kung branch 2019-01-15 23:23:34 +09:00
Kung-vr 58ef2e02b4 New Feature: Control rotation during virtual move
It's now possible to rotate the playspace by turning the controller during a virtual move playspace drag. The feature is activated via a checkbox on the playspace tab. If X Y Z axis lock checkboxes are also checked only rotation will be applied. Offsets will still accumulate as the user swings the playspace around because rotation is now centered at head. This feature is intended for use with manual redirected walking (allowing the user to virtually walk in a straight line while walking circles in physical space). This distance walked is reflected in the X,Z offsets.
2019-01-13 00:43:21 +09:00
Vasily 51057c1d79 Format every single file using .clang-format 2018-12-28 03:06:42 +01:00
ykeara 9782839749 added apply button to rotate playspace instead of automatically rotating 2018-12-16 13:58:00 -06:00
ykeara 3596562bd0 Added axis locks to playspace mover 2018-11-03 19:36:15 -05:00
Robin Appelman 837a91f920 Add option to require double click to move 2018-07-08 18:08:09 +02:00
Robin Appelman d3ba00c01d add move shortcut settings and deal with double handed moves 2018-03-20 21:53:42 +01:00
Robin Appelman df7948293d deal with rotated playspace while moving 2018-03-19 20:38:19 +01:00
Robin Appelman f9cf2880cd initial work on virtual move shortcut 2018-03-14 16:48:10 +01:00
Mel Klimushyn 1aa1580a90 Move the push-to-toggle y axis adjustment from the playspace page to a new Accessibility Tools tab, packaged as a new height adjustment tool. Height offset is saved and can be set via slider. 2017-02-07 00:13:41 -08:00
matzman 2cd04f906e Some GUI layout corrections, some tidying up, and it's better to make PttController::getSettingsName() pure virtual. 2017-01-30 20:50:55 +01:00
Mel Klimushyn 6271f230df Refactor out duplicate PTT logic into a shared controller. 2017-01-29 00:55:16 -08:00
Mel Klimushyn 39f81f39ab Add optional toggle of the Y offset to MoveCenterTabController. Allows short players and wheelchair users to fully interact with height-limited applications by both boosting their height and being able to touch the in-game floor when necessary. 2017-01-28 10:39:24 -08:00
matzman 7949ad4f43 Added MyTextField and overhauled Playspace page. 2016-12-13 20:28:57 +01:00
matzman e39c240ff5 Complete GUI overhaul (from Qt Widgets to Qt Quick Controls 2)
Added chaperone profiles
Added separate supersampling sliders for applications/compositor
Added asynchronous reprojection on/off switch
Merged in Microphone Control Overlay
Added Push-to-Talk profiles
Updated to OpenVR 1.0.3
Requires at least SteamVR beta 1477423729.
2016-10-28 18:38:05 +02:00
matzman b8cac9fb69 Added missing platform dlls.
Refractoring and bugfixes.
Added SteamVR tab: Supersampling and reprojection settings and restart
button.
Added Statistics tab: rotation counter, performance statistics and others.
Updated Move Playspace tab: Rotation and Seated mode support.
2016-09-16 21:22:29 +02:00