hid_report_type.h 771 B

1234567891011121314151617181920212223
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef SERVICES_DEVICE_HID_HID_REPORT_TYPE_H_
  5. #define SERVICES_DEVICE_HID_HID_REPORT_TYPE_H_
  6. namespace device {
  7. // A HID report a packet of data meaningful to the device. The report type
  8. // indicates the direction and initiator of the report.
  9. enum class HidReportType {
  10. // Input reports are sent from device to host, initiated by the device.
  11. kInput,
  12. // Output reports are sent from host to device, initiated by the host.
  13. kOutput,
  14. // Feature reports are sent in either direction, initiated by the host.
  15. kFeature,
  16. };
  17. } // namespace device
  18. #endif // SERVICES_DEVICE_HID_HID_REPORT_TYPE_H_