Video and Steam VR Tab Re-work + keyboard binds (#289)

* changed color overlay to use gain values instead of overlay

* moved SS/Motion smoothing, and filter to video tab

* began refactor of steamVR qml page

* added misc toggles to steamvr tab

* added imu fallback and DND, and some qml formatting

* added Camera Settings to SteamVR page

* changed formatting to minimize height

* added video profiles cleaned up steamvr controller

* delta comparison change

* added profiles for video

* fixed display bug in colorgroupbox and removed frivoulous saves

* removed commented code

* added custom keybind buttons
This commit is contained in:
ykeara
2019-09-01 02:35:00 -05:00
committed by GitHub
parent 5452144157
commit 4b0be27ff6
24 changed files with 1750 additions and 1257 deletions
@@ -2,6 +2,7 @@
#include <QQuickWindow>
#include <QApplication>
#include "../overlaycontroller.h"
#include "../keyboard_input/input_sender.h"
#include <chrono>
#include <thread>
@@ -79,6 +80,40 @@ void UtilitiesTabController::sendMediaStopSong()
keyboardinput::sendMediaStopSong();
}
void UtilitiesTabController::sendKeyboardOne()
{
m_parent->appSettings()->beginGroup( "keyboardShortcuts" );
const auto commands = m_parent->appSettings()
->value( "keyboardOne" )
.toString()
.toStdString();
m_parent->appSettings()->endGroup();
sendStringAsInput( commands );
}
void UtilitiesTabController::sendKeyboardTwo()
{
m_parent->appSettings()->beginGroup( "keyboardShortcuts" );
const auto commands = m_parent->appSettings()
->value( "keyboardTwo" )
.toString()
.toStdString();
m_parent->appSettings()->endGroup();
sendStringAsInput( commands );
}
void UtilitiesTabController::sendKeyboardThree()
{
m_parent->appSettings()->beginGroup( "keyboardShortcuts" );
const auto commands = m_parent->appSettings()
->value( "keyboardThree" )
.toString()
.toStdString();
m_parent->appSettings()->endGroup();
sendStringAsInput( commands );
}
bool UtilitiesTabController::alarmEnabled() const
{
return m_alarmEnabled;