Windows.​Devices.​Human​Interface​Device Windows.​Devices.​Human​Interface​Device Windows.​Devices.​Human​Interface​Device 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

Classes

HidBooleanControl HidBooleanControl 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 HidBooleanControlDescription HidBooleanControlDescription

Describes a Boolean control for a given HID device.

HidCollection HidCollection HidCollection

Retrieves the collection information for a group of related controls.

The HID protocol uses collections to group a set of controls that are similar to one another, or, are related by physical or operational proximity.

HidDevice HidDevice HidDevice

Represents a top-level collection and the corresponding device.

HidFeatureReport HidFeatureReport HidFeatureReport

Represents a feature report.

Feature reports are issued by both the device and the host. Devices issue feature reports to describe their capabilities and default settings to a host. Hosts issue feature reports to make requests of the device.

HidInputReport HidInputReport HidInputReport

Represents an input report.

Devices issue input reports to describe state changes, user-input, and other device-specific data. For example, a HID keyboard device would use an input report to signal a key press. A HID presence-sensor would use an input report to signal a presence detection event.

HidInputReportReceivedEventArgs HidInputReportReceivedEventArgs HidInputReportReceivedEventArgs

Represents the arguments which the HID API sends as part of an input-report event.

HidNumericControl HidNumericControl 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 HidNumericControlDescription HidNumericControlDescription

Describes a numeric control for a given HID device.

HidOutputReport HidOutputReport HidOutputReport

Represents an output report.

Hosts issue output reports to request changes on the device. For example, a host could issue a request to a keyboard to turn an LED on or off.

Enums

HidCollectionType HidCollectionType HidCollectionType

Identifies the relationship that defines a grouping of controls on the device.

Collections are a way to group a set of controls that are similar to one another; or, are related by physical, or, operational proximity.

HidReportType HidReportType HidReportType

Specifies a HID report type.