Commit Graph
553 Commits
Author SHA1 Message Date
Vasily 9fa42842cd Add top level stringToInput sender in header
This is the same for all platforms, so thers' no reason to duplicate it
in platform specific sections.
2019-05-25 18:49:42 +02:00
Vasily 0c7c339e3e Add sending inputs for keyboard_input on Windows 2019-05-25 18:49:42 +02:00
Vasily 6290221853 Remove AltGr support from keyboard input
Was removed in spec for being Alt + Ctrl.
2019-05-25 18:49:42 +02:00
Vasily b4cf5d3cb7 Add removing duplicate tokens to input_parser 2019-05-25 18:49:42 +02:00
Vasily bc060bec96 Add removing extra new-sequence tokens 2019-05-25 18:49:42 +02:00
Vasily 2c0f49d8d6 Add noexcept specifiers to keyboard_input functions 2019-05-25 18:49:42 +02:00
Vasily f72e1b2541 Add capital literal parsing and tests 2019-05-25 18:49:42 +02:00
Vasily d5cb19cea1 Add tests for capital literals 2019-05-25 18:49:42 +02:00
Vasily ef0e679344 Add support for space token to keyboard_input 2019-05-25 18:49:42 +02:00
Vasily e40058e58a Fix keyboard_input SEGFAULT 2019-05-25 18:49:42 +02:00
Vasily d6c7b52a47 Add initial keyboard_input parser and tests
The current implementation SEGFAULTs when F characters are followed by
end of string.
2019-05-25 18:49:42 +02:00
ykeara 511b189efd Fixed Manifest Behavor (#199)
* fixed Manifest install/un-install behavior

* removed un-used param

* fixed double or in log msg
2019-05-18 12:00:32 -05:00
ykeara 3d50eb7995 Fixes Various Audio Bugs (#198)
* perf graph overlay/checkbox added

* added toggle Chaperone action

* toggle chaperone non-functional

* fixed chaperone toggle action const to once

* Added Proximity Sensor Action back-end, not implemented via logic Until fixed by valve

* added default WMR controller profile

* formated

* formated steamvrtabcontroller.h

* fixed un-intended change

* fixed audio profile Bug w/ changed devices

* fixed name being used as param instead of ID

* fixed loop logic in saveAudioProfile

* audio profile fix WIP defaults OVR integration

* fixed profile Saves, delete logic and mirror logic needed

* fixed QML format, added TODO message

* Fixed Audio Profile Behavior

* fixed qml reference error

* audiodeviceselector changed qml

* Removed some comments

* changed Visibility slider Minimum to 30% (steamVR minimum allowed)

* fixed mirror/playback same issue

* fixed Audio device refresh bug, removed currently un-used proximity logic (commented out)

* removed dead code
2019-05-18 11:33:03 -05:00
ykeara 84d5be7771 Fixes Various Audio Issues. (#185)
* perf graph overlay/checkbox added

* added toggle Chaperone action

* toggle chaperone non-functional

* fixed chaperone toggle action const to once

* Added Proximity Sensor Action back-end, not implemented via logic Until fixed by valve

* added default WMR controller profile

* formated

* formated steamvrtabcontroller.h

* fixed un-intended change

* fixed audio profile Bug w/ changed devices

* fixed name being used as param instead of ID

* fixed loop logic in saveAudioProfile

* audio profile fix WIP defaults OVR integration

* fixed profile Saves, delete logic and mirror logic needed

* fixed QML format, added TODO message

* Fixed Audio Profile Behavior

* fixed qml reference error

* audiodeviceselector changed qml

* Removed some comments
2019-05-02 11:29:49 -05:00
ykeara ef67888405 WMR default binding, Toggle Chaperone Action, frame timing graph, prox sensor back-end (#182)
* perf graph overlay/checkbox added

* added toggle Chaperone action

* toggle chaperone non-functional

* fixed chaperone toggle action const to once

* Added Proximity Sensor Action back-end, not implemented via logic Until fixed by valve

* added default WMR controller profile

* formated

* formated steamvrtabcontroller.h

* fixed un-intended change
2019-04-27 17:47:46 -05:00
Vasily dafc977bbe Add Linux sendKeyboardInput
This implementation has several problems.
1) It only really deals with Latin1 characters. This is the same as the
Windows implementatino.
2) It doesn't handle modifier keys at all. This is also a problem with
the Win implementation.

This is an interim solution until a unified strategy can be made for
both Windows/Linux.
2019-04-22 09:56:50 +02:00
Vasily 381fe3aee3 Add Ctrl+C/Ctrl+V keybinds to X11 version 2019-04-22 09:56:50 +02:00
Vasily 1536059a4b Replace X11 enter key
Tester @Goofybud on Debian reported that the enter button did not work.
There are apparently 4 different enter buttons in X11:
    XK_Linefeed
    XK_Return
    XK_KP_Enter
    XK_ISO_Enter

I am attempting XK_Return because it seems like the most obvious next
attempt.
2019-04-22 09:56:50 +02:00
Vasily 86ec4975fc Add Linux impl of some keyboard inputs 2019-04-22 09:56:50 +02:00
Vasily 860eca1956 Add compiling on Ubuntu for X11 funcs 2019-04-22 09:56:50 +02:00
Vasily 7a3737e0de Initial X11 groundwork 2019-04-22 09:56:50 +02: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
Vasily bb1d3e16fb Convert executable icon to new method
Manually creating an RC file was the Qt 4 way. The Qt 5 way is just
giving it an icon.

When an RC_FILE isn't manually created Qt will attempt to create one. If
there are non-integers in the version number the compilation will crash.

AdvancedSettings_resource.rc is a build artifact on Windows.
2019-04-19 22:30:04 +02:00
Vasily 164158330e Convert C++ version string to be define instead of include
This allows Qmake to use the version number as well as not requiring all
other uses of the version string to strip double quotes from it. This
also reduces the fragility of the version string as it was required to
be a valid C++ char*, even in contexts where that wouldn't matter.
2019-04-19 22:30:04 +02:00
Vasily 6cf009e915 Convert C++ code to read version string from file
This is definitely not a pretty thing. Double quotes are required around
the string which means they'll need to be removed in the NSIS and Python
scripts.
2019-04-19 22:29:20 +02:00
Vasily 82e2d1c863 Update version string to append "-dev" 2019-04-19 18:20:20 +02:00
ykeara 3da6f3d81c Release 3.1.0 (#167)
* updated version string

* format

* reverted clang-tidy change

* revert the revert
2019-04-19 09:14:02 -05:00
Vasily 387ae30899 Fix indentation with clang-format 8
AppVeyor automatically updated to LLVM 8 while everything else was on 7.
It is not possible to downgrade to LLVM 7 on AppVeyor, so we'll update
everything else to LLVM 8.
2019-04-19 15:29:18 +02: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 ed8cc8ddf6 Add Ctrl-C and Ctrl-V buttons to utilities tab 2019-04-14 17:54:08 +09:00
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