Input.cpp 393 B

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