hle: Eliminate need to specify command headers for IPC. (#6678)
This commit is contained in:
@@ -14,8 +14,8 @@ QTM_C::QTM_C() : ServiceFramework("qtm:c", 2) {
|
||||
static const FunctionInfo functions[] = {
|
||||
// qtm calibration commands
|
||||
// clang-format off
|
||||
{IPC::MakeHeader(0x0001, 0, 0), nullptr, "InitializeHardwareCheck"},
|
||||
{IPC::MakeHeader(0x0005, 1, 0), nullptr, "SetIrLedCheck"},
|
||||
{0x0001, nullptr, "InitializeHardwareCheck"},
|
||||
{0x0005, nullptr, "SetIrLedCheck"},
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ QTM_S::QTM_S() : ServiceFramework("qtm:s", 2) {
|
||||
static const FunctionInfo functions[] = {
|
||||
// qtm common commands
|
||||
// clang-format off
|
||||
{IPC::MakeHeader(0x0001, 2, 0), nullptr, "GetHeadtrackingInfoRaw"},
|
||||
{IPC::MakeHeader(0x0002, 2, 0), nullptr, "GetHeadtrackingInfo"},
|
||||
{0x0001, nullptr, "GetHeadtrackingInfoRaw"},
|
||||
{0x0002, nullptr, "GetHeadtrackingInfo"},
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ QTM_SP::QTM_SP() : ServiceFramework("qtm:sp", 2) {
|
||||
static const FunctionInfo functions[] = {
|
||||
// qtm common commands
|
||||
// clang-format off
|
||||
{IPC::MakeHeader(0x0001, 2, 0), nullptr, "GetHeadtrackingInfoRaw"},
|
||||
{IPC::MakeHeader(0x0002, 2, 0), nullptr, "GetHeadtrackingInfo"},
|
||||
{0x0001, nullptr, "GetHeadtrackingInfoRaw"},
|
||||
{0x0002, nullptr, "GetHeadtrackingInfo"},
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@ QTM_U::QTM_U() : ServiceFramework("qtm:u", 2) {
|
||||
static const FunctionInfo functions[] = {
|
||||
// qtm common commands
|
||||
// clang-format off
|
||||
{IPC::MakeHeader(0x0001, 2, 0), nullptr, "GetHeadtrackingInfoRaw"},
|
||||
{IPC::MakeHeader(0x0002, 2, 0), nullptr, "GetHeadtrackingInfo"},
|
||||
{0x0001, nullptr, "GetHeadtrackingInfoRaw"},
|
||||
{0x0002, nullptr, "GetHeadtrackingInfo"},
|
||||
// clang-format on
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user