diff options
| author | Hexagon12 <Hexagon12@users.noreply.github.com> | 2018-04-10 20:17:22 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-10 20:17:22 +0300 | 
| commit | 2d2de1422ee0e13ba69baa594f1fd372b15472bb (patch) | |
| tree | 79e5eee5246681e805279fbbda65ba2ba2be8f2f | |
| parent | 9e2f30ab4af7d05b5679d61b96a93d7939237cd5 (diff) | |
Updated hid with more service names.
| -rw-r--r-- | src/core/hle/service/hid/hid.cpp | 50 | 
1 files changed, 50 insertions, 0 deletions
| diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 019a09444..868ac6f46 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -198,25 +198,75 @@ public:              {11, &Hid::ActivateTouchScreen, "ActivateTouchScreen"},              {21, &Hid::ActivateMouse, "ActivateMouse"},              {31, &Hid::ActivateKeyboard, "ActivateKeyboard"}, +            {40, nullptr, "AcquireXpadIdEventHandle"}, +            {41, nullptr, "ReleaseXpadIdEventHandle"}, +            {51, nullptr, "ActivateXpad"}, +            {55, nullptr, "GetXpadIds"}, +            {56, nullptr, "ActivateJoyXpad"}, +            {58, nullptr, "GetJoyXpadLifoHandle"}, +            {59, nullptr, "GetJoyXpadIds"}, +            {60, nullptr, "ActivateSixAxisSensor"}, +            {61, nullptr, "DeactivateSixAxisSensor"}, +            {62, nullptr, "GetSixAxisSensorLifoHandle"}, +            {63, nullptr, "ActivateJoySixAxisSensor"}, +            {64, nullptr, "DeactivateJoySixAxisSensor"}, +            {65, nullptr, "GetJoySixAxisSensorLifoHandle"},              {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, +            {67, nullptr, "StopSixAxisSensor"}, +            {68, nullptr, "IsSixAxisSensorFusionEnabled"}, +            {69, nullptr, "EnableSixAxisSensorFusion"}, +            {70, nullptr, "SetSixAxisSensorFusionParameters"}, +            {71, nullptr, "GetSixAxisSensorFusionParameters"}, +            {72, nullptr, "ResetSixAxisSensorFusionParameters"}, +            {73, nullptr, "SetAccelerometerParameters"}, +            {74, nullptr, "GetAccelerometerParameters"}, +            {75, nullptr, "ResetAccelerometerParameters"}, +            {76, nullptr, "SetAccelerometerPlayMode"}, +            {77, nullptr, "GetAccelerometerPlayMode"}, +            {78, nullptr, "ResetAccelerometerPlayMode"},              {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, +            {80, nullptr, "GetGyroscopeZeroDriftMode"}, +            {81, nullptr, "ResetGyroscopeZeroDriftMode"}, +            {82, nullptr, "IsSixAxisSensorAtRest"}, +            {91, nullptr, "ActivateGesture"},              {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"},              {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"},              {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"},              {103, &Hid::ActivateNpad, "ActivateNpad"}, +            {104, nullptr, "DeactivateNpad"},              {106, &Hid::AcquireNpadStyleSetUpdateEventHandle,               "AcquireNpadStyleSetUpdateEventHandle"}, +            {107, nullptr, "DisconnectNpad"}, +            {108, nullptr, "GetPlayerLedPattern"},              {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"},              {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"},              {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault,               "SetNpadJoyAssignmentModeSingleByDefault"}, +            {123, nullptr, "SetNpadJoyAssignmentModeSingleByDefault"},              {124, &Hid::SetNpadJoyAssignmentModeDual, "SetNpadJoyAssignmentModeDual"}, +            {125, nullptr, "MergeSingleJoyAsDualJoy"}, +            {126, nullptr, "StartLrAssignmentMode"}, +            {127, nullptr, "StopLrAssignmentMode"},              {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"}, +            {129, nullptr, "GetNpadHandheldActivationMode"}, +            {130, nullptr, "SwapNpadAssignment"}, +            {131, nullptr, "IsUnintendedHomeButtonInputProtectionEnabled"}, +            {132, nullptr, "EnableUnintendedHomeButtonInputProtection"},              {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"},              {201, &Hid::SendVibrationValue, "SendVibrationValue"},              {202, &Hid::GetActualVibrationValue, "GetActualVibrationValue"},              {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, +            {204, nullptr, "PermitVibration"}, +            {205, nullptr, "IsVibrationPermitted"},              {206, &Hid::SendVibrationValues, "SendVibrationValues"}, +            {300, nullptr, "ActivateConsoleSixAxisSensor"}, +            {301, nullptr, "StartConsoleSixAxisSensor"}, +            {302, nullptr, "StopConsoleSixAxisSensor"}, +            {400, nullptr, "IsUsbFullKeyControllerEnabled"}, +            {401, nullptr, "EnableUsbFullKeyController"}, +            {402, nullptr, "IsUsbFullKeyControllerConnected"}, +            {1000, nullptr, "SetNpadCommunicationMode"}, +            {1001, nullptr, "GetNpadCommunicationMode"},          };          RegisterHandlers(functions); | 
