5.4.0 Raw Restriction Setting, Apply Offsets (#577)
* Crash Recovery Defaults to Off, add option to use space drag w/ uncalibrated playspace * increment version 5.3.3 * Feat/apply offsets binding (#576) * add apply offsets steamvr input * add new binding to Readme Co-authored-by: TheMrGong <gongora656@gmail.com> * increment version 5.4.0 * added LH Console Interface class, WIP TX/RX list via lh console * switch over to property based dongle information * add ovr system wrapper * add use of parameter to avoid warning as error * openXR fix, and Change Display State of Chaperone Disabled * update text * format files * clang 9.0.0 format * add documentation update * remove windows header include * remove filesystem header * fix uncal motion switching issue Co-authored-by: TheMrGong <gongora656@gmail.com>
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
#pragma once
|
||||
#include "openvr.h"
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <array>
|
||||
#include <QProcess>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QRegularExpression>
|
||||
#include <easylogging++.h>
|
||||
|
||||
namespace lh_con_util
|
||||
{
|
||||
struct RXTX_Pair
|
||||
{
|
||||
QString RX_Serial = "";
|
||||
QString TX_Serial = "";
|
||||
bool Is_Init = false;
|
||||
bool Is_Paired = false;
|
||||
};
|
||||
class LHCUtil
|
||||
{
|
||||
private:
|
||||
QString path_;
|
||||
bool InPairs( std::string RXSerial );
|
||||
bool FindAllRX();
|
||||
bool FindAllTX();
|
||||
bool path_Init = false;
|
||||
|
||||
public:
|
||||
explicit LHCUtil( QString path )
|
||||
{
|
||||
path_ = path;
|
||||
}
|
||||
std::vector<RXTX_Pair> RXTX_Pairs_;
|
||||
bool FindAll();
|
||||
bool FindConnectedTX( QString RXSerial );
|
||||
QString GetLinkedTX( QString RXSerial );
|
||||
QString GetLinkedRX( QString TXSerial );
|
||||
RXTX_Pair GetConnectedTXRXPair();
|
||||
bool pairDevice( QString RXSerial );
|
||||
};
|
||||
} // namespace lh_con_util
|
||||
Reference in New Issue
Block a user