Commit Graph
471 Commits
Author SHA1 Message Date
Kung-vr c3e9d7afe4 Fix chaperone updates not updating chaperone warnings reference (#154) 2019-04-13 14:48:24 -05:00
ykeara 3dadf81b3e changed math.h to cmath 2019-04-12 21:15:57 -05:00
ykeara a99e4c07e1 updated documentation minor fixes 2019-04-12 21:03:49 -05:00
ykeara d94c0fa05c changed version strings 2019-04-12 18:49:03 -05:00
ykeara 59caa8e1af qml format changes and format 2019-04-12 18:42:17 -05:00
ykeara 9de14e20cb merged master to brightness 2019-04-12 18:25:14 -05:00
ykeara e2e68ecc89 adjusted profiles and switched to cubed root for linearization of brightness 2019-04-12 18:18:49 -05:00
ykeara ae800e6f3a save brightness OverlaySettings 2019-04-12 17:46:10 -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
ykeara 9b61eb86c1 fixed logarithmic viewing 2019-04-12 13:15:39 -05:00
ykeara 95ddbcbe3f brightness cleaned up 2019-04-11 23:20:05 -05:00
ykeara 9b49191f95 adjusted brightness qml slider behaviour 2019-04-11 21:18:53 -05:00
ykeara 5d41c7757f moved overlay to .01 m from .3 m 2019-04-11 20:57:05 -05:00
ykeara 1721d35865 fixed qml issue 2019-04-11 20:39:29 -05:00
ykeara 17b31734be fixed c++ errors 2019-04-11 19:50:12 -05:00
ykeara c2680a6ccc linker issues unresolved 2019-04-10 22:21:43 -05:00
ykeara ed8e3a9852 fixed header compile errors 2019-04-10 21:32:24 -05:00
ykeara cfec157e2d added main loop logic for videotab 2019-04-10 21:11:04 -05:00
ykeara 89f01ef3be added rootpage qml button 2019-04-10 20:31:17 -05:00
ykeara e57aafe4f2 BrightnessGroupBox qml complete 2019-04-10 20:28:45 -05:00
ykeara d866725724 get/set implemented 2019-04-10 20:09:39 -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
ykeara c7483861bc updated qml names 2019-04-03 21:02:25 -05:00
ykeara a382137ef4 qml add 2019-04-03 20:50:08 -05:00
ykeara ddd413fa13 dimmer in-prog 2019-04-02 21:31:03 -05: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 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 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