连续签到天数:1天 | 签到总天数:832天 | 签到总奖励:24017金币 |
|
发表于 2018-12-19 21:39:21
|
显示全部楼层
- /*!
- Possible values that can be passed into the UsbDeviceClassSendEvent API. Events are only valid if the correct device class has been enumerated.
- */
- typedef enum
- {
- /*! Send a HID consumer play/pause event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_PLAY_PAUSE,
- /*! Send a HID consumer stop event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_STOP,
- /*! Send a HID consumer next track event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_NEXT_TRACK,
- /*! Send a HID consumer previous track event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_PREVIOUS_TRACK,
- /*! Send a HID consumer play event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_PLAY,
- /*! Send a HID consumer pause event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_PAUSE,
- /*! Send a HID consumer Fast Forward ON event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_FFWD_ON,
- /*! Send a HID consumer Fast Forward OFF event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_FFWD_OFF,
- /*! Send a HID consumer Rewind ON event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_REW_ON,
- /*! Send a HID consumer Rewind OFF event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_REW_OFF,
- /*! Send a HID consumer Volume Up event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_VOL_UP,
- /*! Send a HID consumer Volume Down event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_VOL_DOWN,
- /*! Send a HID consumer Mute event over USB */
- USB_DEVICE_CLASS_EVENT_HID_CONSUMER_TRANSPORT_MUTE,
- /*! Send a HID keyboard ALT+PageUp event over USB */
- USB_DEVICE_CLASS_EVENT_HID_KEYBOARD_ALT_PGUP,
- /*! Send a HID keyboard ALT+PageDown event over USB */
- USB_DEVICE_CLASS_EVENT_HID_KEYBOARD_ALT_PGDN,
- /*! Send a HID keyboard ALT+End event over USB */
- USB_DEVICE_CLASS_EVENT_HID_KEYBOARD_ALT_END
- } usb_device_class_event;
复制代码
|
|