XRInput.cpp 586 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include <XR/XRInput.h>
  9. namespace XR
  10. {
  11. AZ::RHI::ResultCode Input::Init(Descriptor descriptor)
  12. {
  13. m_descriptor = descriptor;
  14. return InitInternal();
  15. }
  16. const Input::Descriptor& Input::GetDescriptor() const
  17. {
  18. return m_descriptor;
  19. }
  20. void Input::Shutdown()
  21. {
  22. ShutdownInternal();
  23. }
  24. } // namespace XR