hid_registration.h 515 B

123456789101112131415161718192021222324252627282930
  1. // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <memory>
  5. namespace Core {
  6. class System;
  7. }
  8. namespace Service::HID {
  9. class IHidServer;
  10. }
  11. namespace Service::AM {
  12. class Process;
  13. class HidRegistration {
  14. public:
  15. explicit HidRegistration(Core::System& system, Process& process);
  16. ~HidRegistration();
  17. private:
  18. Process& m_process;
  19. std::shared_ptr<Service::HID::IHidServer> m_hid_server;
  20. };
  21. } // namespace Service::AM