hid_spvr.cpp 1.1 KB

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