最終更新:2014-07-17 (木) 11:44:11 (3571d)  

HID/ケイパビリティ
Top / HID / ケイパビリティ

http://msdn.microsoft.com/en-us/library/windows/hardware/ff538346(v=vs.85).aspx

取得

HIDP_CAPS

  • typedef struct _HIDP_CAPS {
      USAGE  Usage;
      USAGE  UsagePage;
      USHORT InputReportByteLength;
      USHORT OutputReportByteLength;
      USHORT FeatureReportByteLength;
      USHORT Reserved[17];
      USHORT NumberLinkCollectionNodes;
      USHORT NumberInputButtonCaps;
      USHORT NumberInputValueCaps;
      USHORT NumberInputDataIndices;
      USHORT NumberOutputButtonCaps;
      USHORT NumberOutputValueCaps;
      USHORT NumberOutputDataIndices;
      USHORT NumberFeatureButtonCaps;
      USHORT NumberFeatureValueCaps;
      USHORT NumberFeatureDataIndices;
    } HIDP_CAPS, *PHIDP_CAPS;

  • The collection's usage page and usage ID
  • The size, in bytes, of the collection's input, output, and feature reports (see Introduction to HID Concepts)
  • The number of HIDP_LINK_COLLECTION_NODE structures in the collection's link collection array
  • For each report type, the number of HIDP_BUTTON_CAPS structures in the button capability array returned by HidP_GetButtonCaps?
  • For each report type, the number of HIDP_VALUE_CAPSstructures in the value capability array returned by HidP_GetValueCaps
  • For each report type, the number of buttons and values supported by the collection, as specified by the NumberXxxDataIndices? member.

ボタンケイパビリティ

  • HidP_GetButtonCaps? - HIDP_BUTTON_CAPS?

バリューケイパビリティ