Spacedragupdate (#663)

* add delay if interface not found

* adjust initialization behavior

* pushed for debugging reasons for concerned parties

* comment out simple recenter

* remove old style motion, some minor optimizations

* optimize default case check

* optimized default condition

* change manifest install behavior to trigger on desktop mode as well

* add desktop mode binding launch

* add tracker overlay option to utils

* commit to check status

* attempt to fix native LH issues with chaperone when exiting

* add desktop mode toggle and some cleanup

* remove adjust chaperone

* remove clang format from ci, increment version, cleanup

* update circle ci

* fix conversion warning

* add F13-19 to keyboard parser

* add additional logging around failure to initialize

* add unsaved changes

* update version 5.8.1

* fix some collisions in enum declaration

* add controller powers on steamvr, and no HMD to steamvr tab, increment version

* slightly alter drag movement, fix qml issue

* code cleanup

* fix logspam/attempt to delete non existant overlays

* increment version 5.8.3

* add zero-offset to true as potential edge case fix

* remove dead code in qml

* fix both brightness sliders to be uniform .05 minimum via set, and .2 minimum via slider

* attempt to fix recenter, and fix floor

* further space drag/recenter improvements

* get rid of old code

* increment version 5.8.6

* remove old commented code settings page

* update documentation

* re-add mistakenly removed line

* attempt at fixing reset etc. etc.

* incrment verison

* fix brightness slider min at 3 or 20 depending if slide or direct input add error recovery from bad cal state on recenter and reset offsets

* update version 5.8.8

* fix room-setup bug on startup if using auto apply chaperone

* incrmenet version 5.8.9
This commit is contained in:
ykeara
2024-03-25 15:19:12 -05:00
committed by GitHub
parent c0da050ae8
commit 76101b169e
9 changed files with 117 additions and 141 deletions
+1 -1
View File
@@ -488,7 +488,7 @@ MyStackViewPage {
id: spaceSeatedRecenter
Layout.preferredWidth: 250
visible: true
text: "Seated Recenter"
text: "Re-center"
onClicked: {
MoveCenterTabController.sendSeatedRecenter()
}
@@ -57,9 +57,7 @@ GroupBox {
value: 1.0
Layout.fillWidth: true
onMoved: {
var val = (this.value * 100)
brightnessValueText.text = Math.round(val) + "%"
VideoTabController.setBrightnessOpacityValue(value.toFixed(2), true)
VideoTabController.setBrightnessOpacityValue(this.value.toFixed(2), true)
}
}
@@ -73,17 +71,13 @@ GroupBox {
function onInputEvent(input) {
var val = parseFloat(input)
if (!isNaN(val)) {
if (val < 5.0) {
val = 5.0
if (val < 3) {
val = 3
} else if (val > 100.0) {
val = 100.0
}
var v = (val/100)
VideoTabController.setBrightnessOpacityValue(v.toFixed(2), true)
if(v<.05){
v = .05
}
brightnessSlider.value = v
}
text = Math.round(VideoTabController.brightnessOpacityValue * 100) + "%"
}
@@ -57,13 +57,8 @@ GroupBox {
stepSize: 0.01
value: 1.0
Layout.fillWidth: true
onPositionChanged: {
var val = (this.value * 100)
brightnessValueText.text = Math.round(val) + "%"
}
onValueChanged: {
VideoTabController.setBrightnessOpacityValue(value.toFixed(2), true)
onMoved: {
VideoTabController.setBrightnessOpacityValue(this.value.toFixed(2), true)
}
}
@@ -77,13 +72,13 @@ GroupBox {
function onInputEvent(input) {
var val2 = parseFloat(input)
if (!isNaN(val2)) {
if (val2 < 5) {
val2 = 5
if (val2 < 3) {
val2 = 3
} else if (val2 > 100.0) {
val2 = 100.0
}
var v2 = (val2/100).toFixed(2)
brightnessSlider.value = v
var v2 = (val2/100)
VideoTabController.setBrightnessOpacityValue(v2.toFixed(2), true)
}
text = Math.round(VideoTabController.brightnessOpacityValue * 100) + "%"
}
@@ -304,7 +299,9 @@ GroupBox {
target: VideoTabController
onBrightnessOpacityValueChanged: {
brightnessSlider.value = VideoTabController.brightnessOpacityValue
var brightvalue = VideoTabController.brightnessOpacityValue
brightnessSlider.value = brightvalue
brightnessValueText.text = Math.round(brightvalue*100)+ "%"
}
onBrightnessEnabledChanged: {
brightnessToggle.checked = VideoTabController.brightnessEnabled