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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user