Windows.Devices.HumanInterfaceDevice
TOC
Recolher sumário
Expandir sumário

Windows.Devices.HumanInterfaceDevice namespace

This namespace gives your Windows Store app access to devices that support the Human Interface Device (HID) protocol.

For an introduction to the HID API, see Supporting human interface devices (HID).

This namespace supports most HID devices. However, it blocks the top-level application collection represented by the following usage pages:

  • HID_USAGE_PAGE_UNDEFINED
  • HID_USAGE_PAGE_GENERIC
  • HID_USAGE_GENERIC_KEYBOARD
  • HID_USAGE_GENERIC_KEYPAD
  • HID_USAGE_GENERIC_SYSTEM_CTL
  • HID_USAGE_PAGE_KEYBOARD
  • HID_USAGE_PAGE_CONSUMER
  • HID_USAGE_PAGE_DIGITIZER
  • HID_USAGE_PAGE_SENSOR
  • HID_USAGE_PAGE_BARCODE_SCANNER
  • HID_USAGE_PAGE_WEIGHING_DEVICE
  • HID_USAGE_PAGE_MAGNETIC_STRIPE_READER
  • HID_USAGE_PAGE_TELEPHONY

Members

The Windows.Devices.HumanInterfaceDevice namespace has these types of members:

Classes

ClassDescription
HidBooleanControl Represents a simple Boolean control on a HID device that returns on/off values. An example would be the LED light on a keyboard.
HidBooleanControlDescription Describes a Boolean control for a given HID device.
HidCollection Retrieves the collection information for a group of related controls.
HidDevice Represents a top-level collection and the corresponding device.
HidFeatureReport Represents a feature report.
HidInputReport Represents an input report.
HidInputReportReceivedEventArgs Represents the arguments which the HID API sends as part of an input-report event.
HidNumericControl Represents a numeric control on a HID device that returns a range of values. An example would be the volume control on a speaker.
HidNumericControlDescription Describes a numeric control for a given HID device.
HidOutputReport Represents an output report.

 

Enumerations

The Windows.Devices.HumanInterfaceDevice namespace has these enumerations.

EnumerationDescription
HidCollectionType Identifies the relationship that defines a grouping of controls on the device.
HidReportType Specifies a HID report type.

 

See also

Apps for HID devices
How to specify device capabilities for HID
Sample Windows Runtime app for HID
Supporting human interface devices (HID)
Custom HID device sample (Windows 10)

 

 

Mostrar:
© 2016 Microsoft