diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-12 11:57:31 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-12 11:57:33 +0200 |
commit | 63a70c253ee0333d57631f32ad2338d5daf3d39f (patch) | |
tree | 23856320cdfc33b3ecb3fc94e82898c9bb84a65d /src/core/hle/service | |
parent | hid: Stub DisconnectNpad() (diff) | |
download | yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.tar yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.tar.gz yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.tar.bz2 yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.tar.lz yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.tar.xz yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.tar.zst yuzu-63a70c253ee0333d57631f32ad2338d5daf3d39f.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index d5e65d98c..970942d3f 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -291,6 +291,7 @@ private: class Hid final : public ServiceFramework<Hid> { public: Hid() : ServiceFramework("hid") { + // clang-format off static const FunctionInfo functions[] = { {0, &Hid::CreateAppletResource, "CreateAppletResource"}, {1, &Hid::ActivateDebugPad, "ActivateDebugPad"}, @@ -333,15 +334,13 @@ public: {102, &Hid::SetSupportedNpadIdType, "SetSupportedNpadIdType"}, {103, &Hid::ActivateNpad, "ActivateNpad"}, {104, nullptr, "DeactivateNpad"}, - {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, - "AcquireNpadStyleSetUpdateEventHandle"}, + {106, &Hid::AcquireNpadStyleSetUpdateEventHandle, "AcquireNpadStyleSetUpdateEventHandle"}, {107, &Hid::DisconnectNpad, "DisconnectNpad"}, {108, &Hid::GetPlayerLedPattern, "GetPlayerLedPattern"}, {109, nullptr, "ActivateNpadWithRevision"}, {120, &Hid::SetNpadJoyHoldType, "SetNpadJoyHoldType"}, {121, &Hid::GetNpadJoyHoldType, "GetNpadJoyHoldType"}, - {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, - "SetNpadJoyAssignmentModeSingleByDefault"}, + {122, &Hid::SetNpadJoyAssignmentModeSingleByDefault, "SetNpadJoyAssignmentModeSingleByDefault"}, {123, nullptr, "SetNpadJoyAssignmentModeSingleByDefault"}, {124, &Hid::SetNpadJoyAssignmentModeDual, "SetNpadJoyAssignmentModeDual"}, {125, &Hid::MergeSingleJoyAsDualJoy, "MergeSingleJoyAsDualJoy"}, @@ -398,6 +397,8 @@ public: {1000, nullptr, "SetNpadCommunicationMode"}, {1001, nullptr, "GetNpadCommunicationMode"}, }; + // clang-format on + RegisterHandlers(functions); event = Kernel::Event::Create(Kernel::ResetType::OneShot, "hid:EventHandle"); |