Class GenericHID
Assembly: WPILibSharp.dll
Syntax
public abstract class GenericHID
Constructors
|
Improve this Doc
View Source
GenericHID(Int32)
Declaration
public GenericHID(int port)
Parameters
Type |
Name |
Description |
Int32 |
port |
|
Properties
|
Improve this Doc
View Source
AxisCount
Declaration
public int AxisCount { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public int ButtonCount { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Improve this Doc
View Source
Port
Declaration
Property Value
|
Improve this Doc
View Source
POVCount
Declaration
public int POVCount { get; }
Property Value
|
Improve this Doc
View Source
Type
Declaration
public GenericHID.HIDType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetPOV(Int32)
Declaration
public int GetPOV(int pov = 0)
Parameters
Type |
Name |
Description |
Int32 |
pov |
|
Returns
|
Improve this Doc
View Source
GetRawAxis(Int32)
Declaration
public double GetRawAxis(int axis)
Parameters
Type |
Name |
Description |
Int32 |
axis |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool GetRawButton(int button)
Parameters
Type |
Name |
Description |
Int32 |
button |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool GetRawButtonPressed(int button)
Parameters
Type |
Name |
Description |
Int32 |
button |
|
Returns
|
Improve this Doc
View Source
Declaration
public bool GetRawButtonReleased(int button)
Parameters
Type |
Name |
Description |
Int32 |
button |
|
Returns
|
Improve this Doc
View Source
GetX()
Declaration
Returns
|
Improve this Doc
View Source
GetX(GenericHID.JoystickHand)
Declaration
public abstract double GetX(GenericHID.JoystickHand hand)
Parameters
Returns
|
Improve this Doc
View Source
GetY()
Declaration
Returns
|
Improve this Doc
View Source
GetY(GenericHID.JoystickHand)
Declaration
public abstract double GetY(GenericHID.JoystickHand hand)
Parameters
Returns
|
Improve this Doc
View Source
SetOutput(Int32, Boolean)
Declaration
public void SetOutput(int outputNumber, bool value)
Parameters
|
Improve this Doc
View Source
SetOutputs(Int32)
Declaration
public void SetOutputs(int value)
Parameters
Type |
Name |
Description |
Int32 |
value |
|
|
Improve this Doc
View Source
SetRumble(GenericHID.RumbleType, Double)
Declaration
public void SetRumble(GenericHID.RumbleType type, double value)
Parameters