mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 18:53:32 +00:00
Merge branch 'donkey-kong-country-returns-hd' into 'master'
hid: Add SetGestureOutputRanges function See merge request citron/rewrite!6
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#include <array>
|
||||
@@ -89,6 +90,7 @@ IHidServer::IHidServer(Core::System& system_, std::shared_ptr<ResourceManager> r
|
||||
{88, C<&IHidServer::GetSixAxisSensorIcInformation>, "GetSixAxisSensorIcInformation"},
|
||||
{89, C<&IHidServer::ResetIsSixAxisSensorDeviceNewlyAssigned>, "ResetIsSixAxisSensorDeviceNewlyAssigned"},
|
||||
{91, C<&IHidServer::ActivateGesture>, "ActivateGesture"},
|
||||
{92, C<&IHidServer::SetGestureOutputRanges>, "SetGestureOutputRanges"},
|
||||
{100, C<&IHidServer::SetSupportedNpadStyleSet>, "SetSupportedNpadStyleSet"},
|
||||
{101, C<&IHidServer::GetSupportedNpadStyleSet>, "GetSupportedNpadStyleSet"},
|
||||
{102, C<&IHidServer::SetSupportedNpadIdType>, "SetSupportedNpadIdType"},
|
||||
@@ -1431,6 +1433,11 @@ Result IHidServer::SetTouchScreenResolution(u32 width, u32 height,
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Result IHidServer::SetGestureOutputRanges(ClientAppletResourceUserId aruid) {
|
||||
LOG_WARNING(Service_HID, "(STUBBED) called, applet_resource_user_id={}", aruid.pid);
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
std::shared_ptr<ResourceManager> IHidServer::GetResourceManager() {
|
||||
resource_manager->Initialize();
|
||||
return resource_manager;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2025 citron Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#pragma once
|
||||
@@ -104,6 +105,7 @@ private:
|
||||
Result ResetIsSixAxisSensorDeviceNewlyAssigned(Core::HID::SixAxisSensorHandle sixaxis_handle,
|
||||
ClientAppletResourceUserId aruid);
|
||||
Result ActivateGesture(u32 basic_gesture_id, ClientAppletResourceUserId aruid);
|
||||
Result SetGestureOutputRanges(ClientAppletResourceUserId aruid);
|
||||
Result SetSupportedNpadStyleSet(Core::HID::NpadStyleSet supported_style_set,
|
||||
ClientAppletResourceUserId aruid);
|
||||
Result GetSupportedNpadStyleSet(Out<Core::HID::NpadStyleSet> out_supported_style_set,
|
||||
|
||||
Reference in New Issue
Block a user