1
0
Fork 0

Service/HID: update function table

update
This commit is contained in:
tgsm 2018-08-25 20:45:44 -04:00
parent 9b9227089b
commit 7136777fec
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,8 @@ namespace HID {
Spvr::Spvr(std::shared_ptr<Module> hid) : Module::Interface(std::move(hid), "hid:SPVR", 6) { Spvr::Spvr(std::shared_ptr<Module> hid) : Module::Interface(std::move(hid), "hid:SPVR", 6) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0x00010200, nullptr, "CalibrateTouchScreen"},
{0x00020000, nullptr, "UpdateTouchConfig"},
{0x000A0000, &Spvr::GetIPCHandles, "GetIPCHandles"}, {0x000A0000, &Spvr::GetIPCHandles, "GetIPCHandles"},
{0x000B0000, nullptr, "StartAnalogStickCalibration"}, {0x000B0000, nullptr, "StartAnalogStickCalibration"},
{0x000E0000, nullptr, "GetAnalogStickCalibrateParam"}, {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"},

View File

@ -9,6 +9,8 @@ namespace HID {
User::User(std::shared_ptr<Module> hid) : Module::Interface(std::move(hid), "hid:USER", 6) { User::User(std::shared_ptr<Module> hid) : Module::Interface(std::move(hid), "hid:USER", 6) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0x00010200, nullptr, "CalibrateTouchScreen"},
{0x00020000, nullptr, "UpdateTouchConfig"},
{0x000A0000, &User::GetIPCHandles, "GetIPCHandles"}, {0x000A0000, &User::GetIPCHandles, "GetIPCHandles"},
{0x000B0000, nullptr, "StartAnalogStickCalibration"}, {0x000B0000, nullptr, "StartAnalogStickCalibration"},
{0x000E0000, nullptr, "GetAnalogStickCalibrateParam"}, {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"},