Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Windows.Devices.HumanInterfaceDevice namespace

Applies to Windows and Windows Phone

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

The Windows.Devices.HumanInterfaceDevice namespace has these 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.

 

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.HumanInterfaceDevice
Windows::Devices::HumanInterfaceDevice [C++]

Metadata

Windows.winmd

See also

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

 

 

Show:
© 2014 Microsoft