diff options
| author | 2018-04-10 20:17:22 +0300 | |
|---|---|---|
| committer | 2018-04-10 20:17:22 +0300 | |
| commit | 2d2de1422ee0e13ba69baa594f1fd372b15472bb (patch) | |
| tree | 79e5eee5246681e805279fbbda65ba2ba2be8f2f /src | |
| parent | Updated friend:u with more service names. (diff) | |
| download | yuzu-2d2de1422ee0e13ba69baa594f1fd372b15472bb.tar.gz yuzu-2d2de1422ee0e13ba69baa594f1fd372b15472bb.tar.xz yuzu-2d2de1422ee0e13ba69baa594f1fd372b15472bb.zip | |
Updated hid with more service names.
Diffstat (limited to 'src')
| -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: | |||
| 198 | {11, &Hid::ActivateTouchScreen, "ActivateTouchScreen"}, | 198 | {11, &Hid::ActivateTouchScreen, "ActivateTouchScreen"}, |
| 199 | {21, &Hid::ActivateMouse, "ActivateMouse"}, | 199 | {21, &Hid::ActivateMouse, "ActivateMouse"}, |
| 200 | {31, &Hid::ActivateKeyboard, "ActivateKeyboard"}, | 200 | {31, &Hid::ActivateKeyboard, "ActivateKeyboard"}, |
| 201 | {40, nullptr, "AcquireXpadIdEventHandle"}, | ||
| 202 | {41, nullptr, "ReleaseXpadIdEventHandle"}, | ||
| 203 | {51, nullptr, "ActivateXpad"}, | ||
| 204 | {55, nullptr, "GetXpadIds"}, | ||
| 205 | {56, nullptr, "ActivateJoyXpad"}, | ||
| 206 | {58, nullptr, "GetJoyXpadLifoHandle"}, | ||
| 207 | {59, nullptr, "GetJoyXpadIds"}, | ||
| 208 | {60, nullptr, "ActivateSixAxisSensor"}, | ||
| 209 | {61, nullptr, "DeactivateSixAxisSensor"}, | ||
| 210 | {62, nullptr, "GetSixAxisSensorLifoHandle"}, | ||
| 211 | {63, nullptr, "ActivateJoySixAxisSensor"}, | ||
| 212 | {64, nullptr, "DeactivateJoySixAxisSensor"}, | ||
| 213 | {65, nullptr, "GetJoySixAxisSensorLifoHandle"}, | ||
| 201 | {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, | 214 | {66, &Hid::StartSixAxisSensor, "StartSixAxisSensor"}, |
| 215 | {67, nullptr, "StopSixAxisSensor"}, | ||
| 216 | {68, nullptr, "IsSixAxisSensorFusionEnabled"}, | ||
| 217 | {69, nullptr, "EnableSixAxisSensorFusion"}, | ||
| 218 | {70, nullptr, "SetSixAxisSensorFusionParameters"}, | ||
| 219 | {71, nullptr, "GetSixAxisSensorFusionParameters"}, | ||
| 220 | {72, nullptr, "ResetSixAxisSensorFusionParameters"}, | ||
| 221 | {73, nullptr, "SetAccelerometerParameters"}, | ||
| 222 | {74, nullptr, "GetAccelerometerParameters"}, | ||
| 223 | {75, nullptr, "ResetAccelerometerParameters"}, | ||
| 224 | {76, nullptr, "SetAccelerometerPlayMode"}, | ||
| 225 | {77, nullptr, "GetAccelerometerPlayMode"}, | ||
| 226 | {78, nullptr, "ResetAccelerometerPlayMode"}, | ||
| 202 | {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, | 227 | {79, &Hid::SetGyroscopeZeroDriftMode, "SetGyroscopeZeroDriftMode"}, |
| 228 | {80, nullptr, "GetGyroscopeZeroDriftMode"}, | ||
| 229 | {81, nullptr, "ResetGyroscopeZeroDriftMode"}, | ||
| 230 | {82, nullptr, "IsSixAxisSensorAtRest"}, | ||
| 231 | {91, nullptr, "ActivateGesture"}, | ||
| 203 | {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, | 232 | {100, &Hid::SetSupportedNpadStyleSet, "SetSupportedNpadStyleSet"}, |
| 204 | {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"}, | 233 | {101, &Hid::GetSupportedNpadStyleSet, "GetSupportedNpadStyleSet"}, |
| 205 | {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, | 234 | {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, |
| 206 | {103, &Hid::ActivateNpad, "ActivateNpad"}, | 235 | {103, &Hid::ActivateNpad, "ActivateNpad"}, |
| 236 | {104, nullptr, "DeactivateNpad"}, | ||
| 207 | {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, | 237 | {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, |
| 208 | "AcquireNpadStyleSetUpdateEventHandle"}, | 238 | "AcquireNpadStyleSetUpdateEventHandle"}, |
| 239 | {107, nullptr, "DisconnectNpad"}, | ||
| 240 | {108, nullptr, "GetPlayerLedPattern"}, | ||
| 209 | {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, | 241 | {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, |
| 210 | {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, | 242 | {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, |
| 211 | {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, | 243 | {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, |
| 212 | "SetNpadJoyAssignmentModeSingleByDefault"}, | 244 | "SetNpadJoyAssignmentModeSingleByDefault"}, |
| 245 | {123, nullptr, "SetNpadJoyAssignmentModeSingleByDefault"}, | ||
| 213 | {124, &Hid::SetNpadJoyAssignmentModeDual, "SetNpadJoyAssignmentModeDual"}, | 246 | {124, &Hid::SetNpadJoyAssignmentModeDual, "SetNpadJoyAssignmentModeDual"}, |
| 247 | {125, nullptr, "MergeSingleJoyAsDualJoy"}, | ||
| 248 | {126, nullptr, "StartLrAssignmentMode"}, | ||
| 249 | {127, nullptr, "StopLrAssignmentMode"}, | ||
| 214 | {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"}, | 250 | {128, &Hid::SetNpadHandheldActivationMode, "SetNpadHandheldActivationMode"}, |
| 251 | {129, nullptr, "GetNpadHandheldActivationMode"}, | ||
| 252 | {130, nullptr, "SwapNpadAssignment"}, | ||
| 253 | {131, nullptr, "IsUnintendedHomeButtonInputProtectionEnabled"}, | ||
| 254 | {132, nullptr, "EnableUnintendedHomeButtonInputProtection"}, | ||
| 215 | {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"}, | 255 | {200, &Hid::GetVibrationDeviceInfo, "GetVibrationDeviceInfo"}, |
| 216 | {201, &Hid::SendVibrationValue, "SendVibrationValue"}, | 256 | {201, &Hid::SendVibrationValue, "SendVibrationValue"}, |
| 217 | {202, &Hid::GetActualVibrationValue, "GetActualVibrationValue"}, | 257 | {202, &Hid::GetActualVibrationValue, "GetActualVibrationValue"}, |
| 218 | {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, | 258 | {203, &Hid::CreateActiveVibrationDeviceList, "CreateActiveVibrationDeviceList"}, |
| 259 | {204, nullptr, "PermitVibration"}, | ||
| 260 | {205, nullptr, "IsVibrationPermitted"}, | ||
| 219 | {206, &Hid::SendVibrationValues, "SendVibrationValues"}, | 261 | {206, &Hid::SendVibrationValues, "SendVibrationValues"}, |
| 262 | {300, nullptr, "ActivateConsoleSixAxisSensor"}, | ||
| 263 | {301, nullptr, "StartConsoleSixAxisSensor"}, | ||
| 264 | {302, nullptr, "StopConsoleSixAxisSensor"}, | ||
| 265 | {400, nullptr, "IsUsbFullKeyControllerEnabled"}, | ||
| 266 | {401, nullptr, "EnableUsbFullKeyController"}, | ||
| 267 | {402, nullptr, "IsUsbFullKeyControllerConnected"}, | ||
| 268 | {1000, nullptr, "SetNpadCommunicationMode"}, | ||
| 269 | {1001, nullptr, "GetNpadCommunicationMode"}, | ||
| 220 | }; | 270 | }; |
| 221 | RegisterHandlers(functions); | 271 | RegisterHandlers(functions); |
| 222 | 272 | ||