hid_user.h 693 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "core/hle/service/service.h"
  6. ////////////////////////////////////////////////////////////////////////////////////////////////////
  7. // Namespace HID_User
  8. // This service is used for interfacing to physical user controls.
  9. // Uses include game pad controls, touchscreen, accelerometers, gyroscopes, and debug pad.
  10. namespace HID_User {
  11. /**
  12. * HID service interface.
  13. */
  14. class Interface : public Service::Interface {
  15. public:
  16. Interface();
  17. std::string GetPortName() const override {
  18. return "hid:USER";
  19. }
  20. };
  21. } // namespace