VERY experimental Nintendo Switch 2 emulator
C++
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <memory>
namespace Core {
class System;
}
namespace Service::HID {
class IHidServer;
}
namespace Service {
class Process;
}
namespace Service::AM {
class HidRegistration {
public:
explicit HidRegistration(Core::System& system, Process& process);
~HidRegistration();
void RegisterCurrentProcess();
void EnableAppletToGetInput(bool enable_pad, bool enable_touch);
private:
Process& m_process;
std::shared_ptr<Service::HID::IHidServer> m_hid_server;
};
} // namespace Service::AM