hid_usage_led.h 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /* This file is the part of the LUS32 project
  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_LED_H_
  16. #define _USB_HID_USAGE_LED_H_
  17. /**\ingroup USB_HID
  18. * \addtogroup ISB_HID_USAGES_DEVICE HID Usages for LED's
  19. * \brief Contains USB HID Usages definitions for LED's 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_LED 0x08
  24. #define HID_LED_NUM_LOCK 0x01
  25. #define HID_LED_CAPS_LOCK 0x02
  26. #define HID_LED_SCROLL_LOCK 0x03
  27. #define HID_LED_COMPOSE 0x04
  28. #define HID_LED_KANA 0x05
  29. #define HID_LED_POWER 0x06
  30. #define HID_LED_SHIFT 0x07
  31. #define HID_LED_DO_NOT_DISTURB 0x08
  32. #define HID_LED_MUTE 0x09
  33. #define HID_LED_TONE_ENABLE 0x0A
  34. #define HID_LED_HIGH_CUT_FILTER 0x0B
  35. #define HID_LED_LOW_CUT_FILTER 0x0C
  36. #define HID_LED_EQUALIZER_ENABLE 0x0D
  37. #define HID_LED_SOUND_FIELD_ON 0x0E
  38. #define HID_LED_SURROUND_ON 0x0F
  39. #define HID_LED_REPEAT 0x10
  40. #define HID_LED_STEREO 0x11
  41. #define HID_LED_SAMPLING_RATE_DETECT 0x12
  42. #define HID_LED_SPINNING 0x13
  43. #define HID_LED_CAV 0x14
  44. #define HID_LED_CLV 0x15
  45. #define HID_LED_REC_FORMAT_DETECT 0x16
  46. #define HID_LED_OFF_HOOK 0x17
  47. #define HID_LED_RING 0x18
  48. #define HID_LED_MESSAGE_WAITING 0x19
  49. #define HID_LED_DATA_MODE 0x1A
  50. #define HID_LED_BATTERY_OPERATION 0x1B
  51. #define HID_LED_BATTERY_OK 0x1C
  52. #define HID_LED_BATTERY_LOW 0x1D
  53. #define HID_LED_SPEAKER 0x1E
  54. #define HID_LED_HEADSET 0x1F
  55. #define HID_LED_HOLD 0x20
  56. #define HID_LED_MICROPHONE 0x21
  57. #define HID_LED_COVERAGE 0x22
  58. #define HID_LED_NIGHT_MODE 0x23
  59. #define HID_LED_SEND_CALLS 0x24
  60. #define HID_LED_CALL_PICKUP 0x25
  61. #define HID_LED_CONFERENCE 0x26
  62. #define HID_LED_STANDBY 0x27
  63. #define HID_LED_CAMERA_ON 0x28
  64. #define HID_LED_CAMERA_OFF 0x29
  65. #define HID_LED_ONLINE 0x2A
  66. #define HID_LED_OFFLINE 0x2B
  67. #define HID_LED_BUSY 0x2C
  68. #define HID_LED_READY 0x2D
  69. #define HID_LED_PAPER_OUT 0x2E
  70. #define HID_LED_PAPER_JAM 0x2F
  71. #define HID_LED_REMOTE 0x30
  72. #define HID_LED_FORWARD 0x31
  73. #define HID_LED_REVERSE 0x32
  74. #define HID_LED_STOP 0x33
  75. #define HID_LED_REWIND 0x34
  76. #define HID_LED_FAST_FORWARD 0x35
  77. #define HID_LED_PLAY 0x36
  78. #define HID_LED_PAUSE 0x37
  79. #define HID_LED_RECORD 0x38
  80. #define HID_LED_ERROR 0x39
  81. #define HID_LED_USAGE_SELECTED_IND 0x3A
  82. #define HID_LED_USAGE_INUSE_IND 0x3B
  83. #define HID_LED_USAGE_MULTIMODE_IND 0x3C
  84. #define HID_LED_INDICATOR_ON 0x3D
  85. #define HID_LED_INDICATOR_FLASH 0x3E
  86. #define HID_LED_INDICATOR_SLOW_BLINK 0x3F
  87. #define HID_LED_INDICATOR_FAST_BLINK 0x40
  88. #define HID_LED_INDICATOR_OFF 0x41
  89. #define HID_LED_FLASH_ON_TIME 0x42
  90. #define HID_LED_SLOW_BLINK_ON_TIME 0x43
  91. #define HID_LED_SLOW_BLINK_OFF_TIME 0x44
  92. #define HID_LED_FAST_BLINK_ON_TIME 0x45
  93. #define HID_LED_FAST_BLINK_OFF_TIME 0x46
  94. #define HID_LED_USAGE_INDICATOR_COLOR 0x47
  95. #define HID_LED_INDICATOR_RED 0x48
  96. #define HID_LED_INDICATOR_GREEN 0x49
  97. #define HID_LED_INDICATOR_AMBER 0x4A
  98. #define HID_LED_GENERIC_INDICATOR 0x4B
  99. #define HID_LED_SYSTEM_SUSPEND 0x4C
  100. #define HID_LED_EXT_POWER_CONNECTED 0x4D
  101. #endif