Vasily
b452e68456
Fix minor memory leaks
...
The delete keyword only calls a single destructor, the delete[] keyword
calls as many destructors as there are members of the array.
2018-12-27 14:14:49 +01:00
Vasily
450bf91db6
Resolve implicit unsigned/signed casts
2018-12-27 14:13:27 +01:00
Vasily
6c4541018d
Change NULL to nullptr
2018-12-27 14:05:37 +01:00
Vasily
f32c91fe03
Fix GCC warning about unused value
...
Casting to void should shut up GCC about
error: statement has no effect [-Werror=unused-value]
static_cast<void>() is possible for all current types. Supposedly an old
C style cast could also be used, but they should not be used in modern
C++ code.
2018-12-27 13:09:17 +01:00
Vasily
9a2c388a1c
Solve initialization bug in MOveCenterTabController
...
GCC gave error
../src/tabcontrollers/MoveCenterTabController.cpp:57:67: error:
operation on
‘((advsettings::MoveCenterTabController*)this)->advsettings::MoveCenterTabController::lastMoveButtonClick[0]’
may be undefined [-Werror=sequence-point]
Because assigning a value to itself twice is undefined behavior. It is
highly likely that intended behavior was to initialize both array
members to the same value at once.
2018-12-27 12:14:07 +01:00
Vasily
e54f244508
Fix warnings in AudioTabController
...
Mostly casts and unsigned to signed comparisons.
Testing to ensure that the int isn't below 0. If it is, it can't be used
in the array later anyway. After we're sure it isn't below 0 it's safe
to static_cast<size_t>().
2018-12-27 01:55:49 +01:00
Vasily
4904ccaa35
Move variables to .cpp file to prevent unused var warning message
2018-12-27 01:17:02 +01:00
Vasily
6d3b5fdf63
Remove warnings for unreferenced parameters
...
The warnings in dummy functions are preventing the project from being
compiled with warnings as errors.
There were two options:
* Using a define to create a noop (chosen option).
* Commenting out the variable name, leaving only the type.
The first option was chosen because the second option would leave out
information from the IDE and compiler, while the first option wouldn't.
The intent is also clearer with the first option, otherwise it would
likely be necessary to leave comments with every single parameter that
was commented out.
2018-12-26 23:01:11 +01:00
Robin Appelman
8e2ca3602a
Add option to send Alt-Tab as keyboard input
2018-12-26 16:32:38 +01:00
Robin Appelman
f383fe081e
switch to cmath and std::isnan
2018-12-26 02:09:50 +01:00
ykeara
a253d5abec
Added Audio Profiles
2018-12-21 13:04:11 -06:00
ykeara
eb563d1d8a
simple Profile working
2018-12-21 01:44:28 -06:00
ykeara
25e24c04af
audio profiles no logic re-org
2018-12-20 23:42:53 -06:00
ykeara
78f411e9df
Audio profile Save implemented no logic
2018-12-20 14:35:55 -06:00
ykeara
9782839749
added apply button to rotate playspace instead of automatically rotating
2018-12-16 13:58:00 -06:00
ykeara
f473e500af
fixed CheckBox Toggles In playspace Tab
2018-11-25 22:43:56 -06:00
ykeara
734581f495
merged IceWind's most recent changes
2018-11-25 20:46:29 -06:00
Robin Appelman
93b7baff38
fix windows build
2018-11-09 00:07:32 +01:00
Robin Appelman
20853df594
fix building under linux
2018-11-09 00:07:32 +01:00
Robin Appelman
0c6a7ff498
split keyboard input logic into platform specific code
2018-11-09 00:07:31 +01:00
Robin Appelman
ac0df69c9b
add dummy audio manager for non windows platforms
2018-11-09 00:07:11 +01:00
ykeara
3596562bd0
Added axis locks to playspace mover
2018-11-03 19:36:15 -05:00
Robin Appelman
ea2a1a6fe2
Battery indicators for trackers
...
Add battery indicators to vive trackers that show when the dashboard is open
2018-10-28 17:20:36 +01:00
Robin Appelman
837a91f920
Add option to require double click to move
2018-07-08 18:08:09 +02:00
Robin Appelman
4654b06258
update openvr api to 1.0.13
2018-04-03 16:25:14 +02:00
Robin Appelman
7376aa4e80
fix floor fix initialization
2018-04-02 13:47:02 +02:00
Robin Appelman
4e1aaabe95
seperate recentering of playspace into it's own button
2018-04-02 13:09:04 +02:00
Moritz
68bb8dc449
fix center playspace functionality.
2018-04-02 12:44:03 +02:00
Meredith
736154cb3f
undo playspace fix aswell and adjust log messages.
2018-04-02 12:43:54 +02:00
Moritz Ls
04687352df
Add x and z offset to recenter playspace during floor fix.
2018-04-02 12:42:20 +02:00
Robin Appelman
4e2a4bd570
verify pose during virtual move
2018-04-02 11:57:40 +02:00
Robin Appelman
9fb22b7d0b
use temp chaperone config during move
2018-04-02 02:16:25 +02:00
Robin Appelman
ceeb62235c
fix move button sometimes getting suck
2018-04-02 02:15:39 +02:00
Robin Appelman
64bbe88206
fix toggle adjust chaperone with rotation
2018-04-02 02:14:52 +02:00
Robin Appelman
f540125149
simplify move playspace code
2018-03-28 19:24:48 +02:00
Robin Appelman
1a260fbceb
only revert working copy once
2018-03-27 00:03:48 +02:00
Robin Appelman
5fc0cc8fcb
offset all 3 axis in one go
2018-03-21 21:35:53 +01:00
Robin Appelman
f425dccd40
fix playspace offset not updating in ui when using move shortcut
2018-03-21 21:11:41 +01: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
a185c7a318
fix jitter while moving
2018-03-19 01:47:10 +01:00
Robin Appelman
f9cf2880cd
initial work on virtual move shortcut
2018-03-14 16:48:10 +01:00
matzman
f48b583aca
Reimplemented sound effects.
...
Added chaperone proximity warnings.
Other bugfixes and improvements.
2017-08-15 21:44:29 +02:00
matzman
0bc693c76b
Added push-to-mute for microphone.
2017-08-09 00:41:26 +02:00
matzman
08c5b19ffc
Added supersampling profiles.
2017-08-09 00:39:11 +02:00
Jules Blok
2e91acfa8f
Revive: Add the new "Trigger As Grip" setting.
...
Also update some old defaults.
2017-07-25 01:22:23 +02:00
matzman
0960394335
Fixed Restart SteamVR functionality (May crash the Steam overlay when SteamVR Home is running when you restart. Therefore I advice that you close SteamVR Home before restarting).
...
Completely disabled sounds to see whether this fixes crashes some people are still experiencing.
Added "Enable Advanced Supersample Filtering" toggle.
2017-05-21 14:24:24 +02:00
matzman
d1f36437b4
Added option for proximity sensor to mute/unmute the microphone.
2017-05-19 18:58:17 +02:00
matzman
58cfa8d3a1
Added support for new supersampleScale setting. Old RenderTargetMultiplier setting for applications will not work anymore.
2017-05-19 17:41:39 +02:00
matzman
fcc0d6c9f0
Fixed retrieval of default audio devices.
2017-05-19 17:19:35 +02:00