Gorgon
Show / Hide Table of Contents

Class GorgonRawHIDInfo

Provides capability information about a Raw Input Human Interface Device.

Inheritance
object
GorgonRawHIDInfo
Implements
IGorgonRawHIDInfo
IGorgonRawInputDeviceInfo
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public class GorgonRawHIDInfo : IGorgonRawHIDInfo, IGorgonRawInputDeviceInfo

Properties

| Edit this page View Source

Description

Property to return a human friendly description of the device.

Declaration
public string Description { get; }
Property Value
Type Description
string
| Edit this page View Source

DeviceClass

Property to return the device class name.

Declaration
public string DeviceClass { get; }
Property Value
Type Description
string
| Edit this page View Source

HIDPath

Property to return human interface device path for the device.

Declaration
public string HIDPath { get; }
Property Value
Type Description
string
| Edit this page View Source

Handle

Property to return the device handle.

Declaration
public nint Handle { get; }
Property Value
Type Description
nint
| Edit this page View Source

ProductID

Property to return the product ID for the device.

Declaration
public int ProductID { get; }
Property Value
Type Description
int
| Edit this page View Source

Usage

Property to return the top level collection usage value for this device.

Declaration
public HIDUsage Usage { get; }
Property Value
Type Description
HIDUsage
| Edit this page View Source

UsagePage

Property to return the top level collection usage page value for this device.

Declaration
public HIDUsagePage UsagePage { get; }
Property Value
Type Description
HIDUsagePage
| Edit this page View Source

VendorID

Property to return the vendor ID for the device.

Declaration
public int VendorID { get; }
Property Value
Type Description
int
| Edit this page View Source

Version

Property to return the version number for the device.

Declaration
public int Version { get; }
Property Value
Type Description
int

Implements

IGorgonRawHIDInfo
IGorgonRawInputDeviceInfo

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author