1
0

hid_usage_vr.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* This file is the part of the Lightweight USB device Stack for STM32 microcontrollers
  2. *
  3. * Copyright ©2016 Dmitry Filimonchuk <dmitrystu[at]gmail[dot]com>
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. #ifndef _USB_HID_USAGE_VR_H_
  16. #define _USB_HID_USAGE_VR_H_
  17. /**\ingroup USB_HID
  18. * \addtogroup USB_HID_USAGES_VR HID Usage Tables for VR
  19. * \brief Contains USB HID Usages definitions for VR Control Page
  20. * \details This module based on
  21. * + [HID Usage Tables Version 1.12](http://www.usb.org/developers/hidpage/Hut1_12v2.pdf)
  22. * @{ */
  23. #define HID_PAGE_VR 0x03 /**<\brief VR controls usage page.*/
  24. #define HID_VR_BELT 0x01 /**<\brief CA Belt device.*/
  25. #define HID_VR_BODY_SUIT 0x02 /**<\brief CA Body suit device.*/
  26. #define HID_VR_FLEXTOR 0x03 /**<\brief CA Flextor device.*/
  27. #define HID_VR_GLOVE 0x04 /**<\brief CA Clove device.*/
  28. #define HID_VR_HEAD_TRACKER 0x05 /**<\brief CA Head tracker device.*/
  29. #define HID_VR_HEAD_MOUNTED_DISPLAY 0x06 /**<\brief CA Head mounted display device.*/
  30. #define HID_VR_HAND_TRACKER 0x07 /**<\brief CA Hand tracker device.*/
  31. #define HID_VR_OCULOMETER 0x08 /**<\brief CA Oculometer device.*/
  32. #define HID_VR_VEST 0x09 /**<\brief CA Vest device.*/
  33. #define HID_VR_ANIMATRONIC_DEVICE 0x0A /**<\brief CA Animatronic device.*/
  34. #define HID_VR_STEREO_ENABLE 0x20 /**<\brief OOC Stereo enable switch.*/
  35. #define HID_VR_DISPLAY_ENABLE 0x21 /**<\brief OOC Display enable switch.*/
  36. /** @} */
  37. #endif