From b8f16f3538fac8d4434905d531885b9862706bd0 Mon Sep 17 00:00:00 2001 From: german77 Date: Sun, 28 Jan 2024 19:19:21 -0600 Subject: service: hid: Implement home, capture and sleep buttons --- src/hid_core/resources/unique_pad/unique_pad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hid_core/resources/unique_pad') diff --git a/src/hid_core/resources/unique_pad/unique_pad.cpp b/src/hid_core/resources/unique_pad/unique_pad.cpp index 892bbe3c9..89fc57269 100644 --- a/src/hid_core/resources/unique_pad/unique_pad.cpp +++ b/src/hid_core/resources/unique_pad/unique_pad.cpp @@ -28,7 +28,7 @@ void UniquePad::OnUpdate(const Core::Timing::CoreTiming& core_timing) { return; } - auto& header = data->shared_memory_format->capture_button.header; + auto& header = data->shared_memory_format->unique_pad.header; header.timestamp = core_timing.GetGlobalTimeNs().count(); header.total_entry_count = 17; header.entry_count = 0; -- cgit v1.2.3