hid_spvr.cpp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/hle.h"
  5. #include "core/hle/service/hid/hid_spvr.h"
  6. ////////////////////////////////////////////////////////////////////////////////////////////////////
  7. // Namespace HID_SPVR
  8. namespace HID_User {
  9. extern void GetIPCHandles(Service::Interface* self);
  10. }
  11. namespace HID_SPVR {
  12. const Interface::FunctionInfo FunctionTable[] = {
  13. {0x000A0000, HID_User::GetIPCHandles, "GetIPCHandles"},
  14. {0x000B0000, nullptr, "StartAnalogStickCalibration"},
  15. {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"},
  16. {0x00110000, nullptr, "EnableAccelerometer"},
  17. {0x00120000, nullptr, "DisableAccelerometer"},
  18. {0x00130000, nullptr, "EnableGyroscopeLow"},
  19. {0x00140000, nullptr, "DisableGyroscopeLow"},
  20. {0x00150000, nullptr, "GetGyroscopeLowRawToDpsCoefficient"},
  21. {0x00160000, nullptr, "GetGyroscopeLowCalibrateParam"},
  22. {0x00170000, nullptr, "GetSoundVolume"},
  23. };
  24. ////////////////////////////////////////////////////////////////////////////////////////////////////
  25. // Interface class
  26. Interface::Interface() {
  27. Register(FunctionTable);
  28. }
  29. } // namespace