Gorgon
Show / Hide Table of Contents

Interface IGorgonGamingDeviceInfo

Contains information for a gaming device (gaming device, game pad, etc...).

Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public interface IGorgonGamingDeviceInfo

Properties

| Edit this page View Source

AxisInfo

Property to return the GorgonGamingDeviceAxisInfo values for each axis on the gaming device.

Declaration
IReadOnlyDictionary<GamingDeviceAxis, GorgonGamingDeviceAxisInfo> AxisInfo { get; }
Property Value
Type Description
IReadOnlyDictionary<GamingDeviceAxis, GorgonGamingDeviceAxisInfo>
Remarks

Use this value to retrieve the number of axes the gaming device supports by checking its Count property.

| Edit this page View Source

ButtonCount

Property to return the number of buttons available on the gaming device.

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

Capabilities

Property to return the capabilities supported by the gaming device.

Declaration
GamingDeviceCapabilityFlags Capabilities { get; }
Property Value
Type Description
GamingDeviceCapabilityFlags
| Edit this page View Source

Description

Property to return a human readable description for the gaming device.

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

DeviceID

Property to return the unique ID for the device.

Declaration
Guid DeviceID { get; }
Property Value
Type Description
Guid
| Edit this page View Source

ManufacturerID

Property to return the ID for the manufacturer of the gaming device.

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

POVCount

Property to return the number of point of view controls on the gaming device.

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

ProductID

Property to return the ID of the product.

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

VibrationMotorRanges

Property to return the tolerances for each of the vibration motors in the gaming device.

Declaration
IReadOnlyList<GorgonRange> VibrationMotorRanges { get; }
Property Value
Type Description
IReadOnlyList<GorgonRange>
Remarks

Use this value to retrieve the number of vibration motors the gaming device supports by checking its Count property.

If the device does not support vibration, then this list will be empty.

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