Input.cpp 368 B

1234567891011121314151617181920212223
  1. #include "Base.h"
  2. #include "Input.h"
  3. #include "Platform.h"
  4. #include "Game.h"
  5. namespace gameplay
  6. {
  7. Input::Input()
  8. {
  9. }
  10. bool Input::isAccelerometerSupported()
  11. {
  12. return Platform::isAccelerometerSupported();
  13. }
  14. void Input::getAccelerometerPitchAndRoll(float* pitch, float* roll)
  15. {
  16. Platform::getAccelerometerPitchAndRoll(pitch, roll);
  17. }
  18. }