Commit Graph
586 Commits
Author SHA1 Message Date
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
Vasily b53ebb699f Remove version specific header files for KeyboardInput
The headers were identical after no longer using the abstract class for
platform independence.
2019-04-04 14:01:11 +02:00
Vasily e7df60311c Convert keyboardinput from class to regular header
No consistent state is needed so it doesn't make sense for it to be a
class.
2019-04-04 14:01:11 +02:00
Vasily 82d44b4ab5 Move KeyboardInput file into keyboardinput folder 2019-04-04 14:01:11 +02:00
Vasily c8f4ea4ea0 Convert KeyboardInput to non-virtual class 2019-04-04 14:01:11 +02:00
Vasily 70381ea680 Add instruction to desktop overlay page
It is not apparent that reopening the overlay applies the changes. The
text will make that apparent. Centered to improve visibility.
2019-03-31 22:31:26 +02:00
Vasily 3cb04f4b90 Update documentation for the desktop overlay page 2019-03-31 22:31:26 +02:00
Vasily 1f7e731de1 Improve abstraction in update function 2019-03-31 22:31:26 +02:00
Vasily c0f6f2f621 Remove faulty function to set value with keyboard 2019-03-31 22:31:26 +02:00
Vasily e0ea7e3083 Fix incorrect behavior in QML 2019-03-31 22:31:26 +02:00
Vasily cba76f6846 Remove old desktop width C++ code 2019-03-31 22:31:26 +02:00
Vasily ab901e90fc Implement new way of handling Desktop Overlay width 2019-03-31 22:31:26 +02:00
Vasily 760d262a57 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.
2019-03-31 22:31:26 +02:00
Vasily 2e42773529 Add special message to Qt handler
This makes it more obvious where an error came from.
2019-03-31 14:19:05 +02:00
Vasily 96513c6d07 Fix null pointer dereference in QtMessageHandler function
The `QMessageLogContext` is only filled out in debug builds. Release
builds will have null pointers in `file` and `line`. This causes any
error attempted to be logged to result in a null pointer dereference.

Since we never use debug builds anyway, simply removing the uses of
`file` and `line` makes sense.

Github issue
https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/139
2019-03-31 14:19:05 +02: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
ykeara f57347a89c Release 3.0.0 Pr Multiple reviews please. (#129)
* changed version to 3-0-0

* Updated docs with default bindings

* format fix

* changed ordering and fixed minor issue
2019-03-26 11:30:15 -05:00
Kung-vr e73b29a6f4 Add default bindings for knuckles and vive wands (#128)
Knuckles bindings:
**B button**
single click: space turn
single click: swap space drag
double click: space drag

**left trigger:**
click: PTT
(haptics bound)

Vive wand bindings:
**Menu Button**
single click: space turn
single click: swap space drag
double click: space drag

**right track pad**
south click: PTT
(haptics bound)
2019-03-24 16:37:41 -05:00
ykeara 97703098e6 Documentation (#126)
* Fix indentation in action manifest

* Rename action sets to drop unnecessary prefix notation

Since the variable is in the action_sets namespace it does not make
sense to prepend it with an identifier for it being constant, or a set.

* Rename input keys to drop prefix notation

The vars are in a namespace that only contains constant inputs, it
doesn't make sense to prepend it to every var.

* Rename actions to drop prefixes

It is implicit that actions are const values for sets, therefore the
prefix is not needed.

* Remove unneeded action set member func

* Move active action set in preparation for more action sets

* Move action strings above class

Class is not able to use variables in namespaces, which is stupid.

* Move sets into member variable

* Split music into separate action set

* Convert action_manifest.json to spaces only

* Refactor actions into separate action sets

* Rename main set to haptic

* Reorder action sets

The haptics and misc sets are misc bindings.

* added partial action list to readme

* finished action descriptions.

* fixed conflict

* added no link guide

* fixed formatting

* linked input guide to main page

* added pictures

* fixed file directories

* fixed formatting

* removed force revive setting

* changed version to RC2

* hid revive force on settings page

* revert to RC1

* updated screenshots

* updated documentation

* updated straggler changes

* minor formatting change

* formatting

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* Update Readme.md

Co-Authored-By: ykeara <ykeara1@gmail.com>

* 2nd batch of changes

* fixed formatting for table

* fixed table
2019-03-23 23:58:55 -05:00
ykeara 74573eefaa 3.0.0 Release Canidate (#125)
* removed prox sesnor from actions

* removed default hmd bindings

* removed accessibility group from localization

* updated version to 3.0.0 RC1
2019-03-21 15:04:14 -05:00
ykeara f5823fd427 Fixed Action names in json (#124) 2019-03-21 01:15:39 -05:00
username223 86fdc8f26f Refactor actions into separate action sets (#122)
* Fix indentation in action manifest

* Rename action sets to drop unnecessary prefix notation

Since the variable is in the action_sets namespace it does not make
sense to prepend it with an identifier for it being constant, or a set.

* Rename input keys to drop prefix notation

The vars are in a namespace that only contains constant inputs, it
doesn't make sense to prepend it to every var.

* Rename actions to drop prefixes

It is implicit that actions are const values for sets, therefore the
prefix is not needed.

* Remove unneeded action set member func

* Move active action set in preparation for more action sets

* Move action strings above class

Class is not able to use variables in namespaces, which is stupid.

* Move sets into member variable

* Split music into separate action set

* Convert action_manifest.json to spaces only

* Refactor actions into separate action sets

* Rename main set to haptic

* Reorder action sets

The haptics and misc sets are misc bindings.

* format

* fixed manifest path issue

* Change path concat to use QDir

The old way was not platform independent.

* Move accessibility actions to motion set

* Remove "(Held)" from action name

Might be confusing for end users.

* Replace slash with platform independent separator

* Make paths output native paths
2019-03-20 15:42:45 -05:00
Vasily fc34347c12 Add execute permissions on all scripts 2019-03-19 16:10:35 +01:00
Goofybud16 d6df066b8c Set execute permissions on the build and run scripts 2019-03-19 16:10:35 +01:00
Goofybud16 f1adb1d3e7 Add quotes around $@ to avoid potential issues with spaces in arguments 2019-03-19 16:10:35 +01:00
Vasily 8e4c28c0c2 Add g++-7 to clang CI
This is needed for std::optional.
2019-03-19 16:10:35 +01:00
Vasily 24196e9940 Update Linux building docs 2019-03-19 16:10:35 +01:00
Vasily c9f5c1a493 Add .vrmanifest to .gitattributes file 2019-03-19 16:10:35 +01:00
Vasily 1af49c0da7 Update run script with different library call 2019-03-19 16:10:35 +01:00
Vasily d9c4d223fc Update Linux build script 2019-03-19 16:10:35 +01:00
Vasily 97776b5776 Change binary dir to be binary dir for all OS
Linux did not see AppDataLocation as the binary directory, but as an
arbitrary dir in the home folder.
2019-03-19 16:10:35 +01:00
Vasily f86221d8fd Change logging call in main
Previously no file was being output.
2019-03-19 16:10:35 +01:00
Vasily 04c59d5f20 Convert setup to new paths 2019-03-19 16:10:35 +01:00
Vasily 98d1a62947 Remove unneeded imports 2019-03-19 16:10:35 +01:00
Vasily 6c0ae194a5 Convert main to new paths 2019-03-19 16:10:35 +01:00
Vasily e1866e635f Convert logfile to use new paths functions 2019-03-19 16:10:35 +01:00
Vasily d654567d98 Convert to new paths system 2019-03-19 16:10:35 +01:00
Vasily 62dcea6943 Replace dedicated functions with single binary function
There are only 1 or 2 calls to specific directories in the codebase,
hence this is unnecessary and just leads to bloat.
2019-03-19 16:10:35 +01:00
Vasily d6660049e9 Implement prototype Qml path function 2019-03-19 16:10:35 +01:00
Vasily 1d05ae96f9 Implement prototype paths in manifest class 2019-03-19 16:10:35 +01:00
Vasily ac4a124450 Add prototype for binary directory functions 2019-03-19 16:10:35 +01:00
Vasily b770d869ae Add initial planning for paths API
The idea is to reduce manual string directories in the general code as
much as possible, in order to reduce typos and general weirdness.
2019-03-19 16:10:35 +01:00
Kung-vr 69e893f7bb Merge pull request #121 from OpenVR-Advanced-Settings/alpha-kung
Clean up offsets ui and add snap turn settings
2019-03-19 16:02:08 +09:00
Kung-vr ccfb22c3b2 Slight ui cleanup 2019-03-19 15:06:47 +09:00
Kung-vr 2de7e47636 Clarify reverse gravity description 2019-03-19 15:06:13 +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
username223 921aa4ef57 Move audio profile popup to center of screen (#110) 2019-03-16 19:37:49 -05:00
Goofybud16 70d6b45ea6 Specify the path that QT will search in (#113) 2019-03-16 14:56:50 -05:00