hid_spvr.cpp 1.1 KB

123456789101112131415161718192021222324252627282930
  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.h"
  6. #include "core/hle/service/hid/hid_spvr.h"
  7. namespace Service {
  8. namespace HID {
  9. const Interface::FunctionInfo FunctionTable[] = {
  10. {0x000A0000, GetIPCHandles, "GetIPCHandles"},
  11. {0x000B0000, nullptr, "StartAnalogStickCalibration"},
  12. {0x000E0000, nullptr, "GetAnalogStickCalibrateParam"},
  13. {0x00110000, EnableAccelerometer, "EnableAccelerometer"},
  14. {0x00120000, DisableAccelerometer, "DisableAccelerometer"},
  15. {0x00130000, EnableGyroscopeLow, "EnableGyroscopeLow"},
  16. {0x00140000, DisableGyroscopeLow, "DisableGyroscopeLow"},
  17. {0x00150000, nullptr, "GetGyroscopeLowRawToDpsCoefficient"},
  18. {0x00160000, nullptr, "GetGyroscopeLowCalibrateParam"},
  19. {0x00170000, GetSoundVolume, "GetSoundVolume"},
  20. };
  21. HID_SPVR_Interface::HID_SPVR_Interface() {
  22. Register(FunctionTable);
  23. }
  24. } // namespace HID
  25. } // namespace Service