InControl API Reference
UnknownDeviceControl Struct Reference
Inheritance diagram for UnknownDeviceControl:

Public Member Functions

 UnknownDeviceControl (InputControlType control, InputRangeType sourceRange)
 
bool Equals (UnknownDeviceControl other)
 Determines whether the specified object is equal to the current object. More...
 
override bool Equals (object other)
 Determines whether the specified object is equal to the current object. More...
 
override int GetHashCode ()
 Serves as a hash function for this object. More...
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (UnknownDeviceControl a, UnknownDeviceControl b)
 Determines whether the specified objects are equal. More...
 
static bool operator!= (UnknownDeviceControl a, UnknownDeviceControl b)
 Determines whether the specified objects are not equal. More...
 
static implicit operator bool (UnknownDeviceControl control)
 Returns true if the Control property is not InputControlType.None More...
 

Public Attributes

InputControlType Control
 
InputRangeType SourceRange
 
bool IsButton
 
bool IsAnalog
 

Static Public Attributes

static readonly UnknownDeviceControl None = new UnknownDeviceControl( InputControlType.None, InputRangeType.None )
 

Properties

int? Index [get]
 

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  other)

Determines whether the specified object is equal to the current object.

Parameters
otherThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ Equals() [2/2]

bool Equals ( UnknownDeviceControl  other)

Determines whether the specified object is equal to the current object.

Parameters
otherThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ GetHashCode()

override int GetHashCode ( )

Serves as a hash function for this object.

Returns
A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.

◆ operator bool()

static implicit operator bool ( UnknownDeviceControl  control)
static

Returns true if the Control property is not InputControlType.None

◆ operator!=()

static bool operator!= ( UnknownDeviceControl  a,
UnknownDeviceControl  b 
)
static

Determines whether the specified objects are not equal.

Parameters
aThe first object to compare.
bThe second object to compare.
Returns
true if the specified objects are not equal; otherwise, false.

◆ operator==()

static bool operator== ( UnknownDeviceControl  a,
UnknownDeviceControl  b 
)
static

Determines whether the specified objects are equal.

Parameters
aThe first object to compare.
bThe second object to compare.
Returns
true if the specified objects are equal; otherwise, false.

The documentation for this struct was generated from the following file: