ir_u.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/ir/ir_u.h"
  5. namespace Service {
  6. namespace IR {
  7. const Interface::FunctionInfo FunctionTable[] = {
  8. // clang-format off
  9. {0x00010000, nullptr, "Initialize"},
  10. {0x00020000, nullptr, "Shutdown"},
  11. {0x00030042, nullptr, "StartSendTransfer"},
  12. {0x00040000, nullptr, "WaitSendTransfer"},
  13. {0x000500C2, nullptr, "StartRecvTransfer"},
  14. {0x00060000, nullptr, "WaitRecvTransfer"},
  15. {0x00070080, nullptr, "GetRecvTransferCount"},
  16. {0x00080000, nullptr, "GetSendState"},
  17. {0x00090040, nullptr, "SetBitRate"},
  18. {0x000A0000, nullptr, "GetBitRate"},
  19. {0x000B0040, nullptr, "SetIRLEDState"},
  20. {0x000C0000, nullptr, "GetIRLEDRecvState"},
  21. {0x000D0000, nullptr, "GetSendFinishedEvent"},
  22. {0x000E0000, nullptr, "GetRecvFinishedEvent"},
  23. {0x000F0000, nullptr, "GetTransferState"},
  24. {0x00100000, nullptr, "GetErrorStatus"},
  25. {0x00110040, nullptr, "SetSleepModeActive"},
  26. {0x00120040, nullptr, "SetSleepModeState"},
  27. // clang-format on
  28. };
  29. IR_U_Interface::IR_U_Interface() {
  30. Register(FunctionTable);
  31. }
  32. } // namespace IR
  33. } // namespace Service