diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-30 10:36:42 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-30 10:57:03 -0600 |
| commit | a0f7f2b309e4920e0e3f1217441a4628023f59b8 (patch) | |
| tree | 5f8c8b2b284369d1e5b9562ad7d7df20f3abc2d9 /src/core/hle/service/hid/hid_server.h | |
| parent | ba4cee1812772b663b823b071e9396c05df06c12 (diff) | |
service: hid: Implement GetPlayerLedPattern accurately
Diffstat (limited to 'src/core/hle/service/hid/hid_server.h')
| -rw-r--r-- | src/core/hle/service/hid/hid_server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/hid_server.h b/src/core/hle/service/hid/hid_server.h index 3a2e0a230..faf775689 100644 --- a/src/core/hle/service/hid/hid_server.h +++ b/src/core/hle/service/hid/hid_server.h @@ -3,7 +3,9 @@ #pragma once +#include "core/hle/service/cmif_types.h" #include "core/hle/service/service.h" +#include "hid_core/hid_types.h" namespace Core { class System; @@ -66,7 +68,8 @@ private: void DeactivateNpad(HLERequestContext& ctx); void AcquireNpadStyleSetUpdateEventHandle(HLERequestContext& ctx); void DisconnectNpad(HLERequestContext& ctx); - void GetPlayerLedPattern(HLERequestContext& ctx); + Result GetPlayerLedPattern(Out<Core::HID::LedPattern> out_led_pattern, + Core::HID::NpadIdType npad_id); void ActivateNpadWithRevision(HLERequestContext& ctx); void SetNpadJoyHoldType(HLERequestContext& ctx); void GetNpadJoyHoldType(HLERequestContext& ctx); |
