Show / Hide Table of Contents

Class GenericHID

Inheritance
Object
GenericHID
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: WPILib
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
Type Description
Int32
| Improve this Doc View Source

ButtonCount

Declaration
public int ButtonCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Name

Declaration
public string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Port

Declaration
public int Port { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

POVCount

Declaration
public int POVCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Type

Declaration
public GenericHID.HIDType Type { get; }
Property Value
Type Description
GenericHID.HIDType

Methods

| Improve this Doc View Source

GetPOV(Int32)

Declaration
public int GetPOV(int pov = 0)
Parameters
Type Name Description
Int32 pov
Returns
Type Description
Int32
| Improve this Doc View Source

GetRawAxis(Int32)

Declaration
public double GetRawAxis(int axis)
Parameters
Type Name Description
Int32 axis
Returns
Type Description
Double
| Improve this Doc View Source

GetRawButton(Int32)

Declaration
public bool GetRawButton(int button)
Parameters
Type Name Description
Int32 button
Returns
Type Description
Boolean
| Improve this Doc View Source

GetRawButtonPressed(Int32)

Declaration
public bool GetRawButtonPressed(int button)
Parameters
Type Name Description
Int32 button
Returns
Type Description
Boolean
| Improve this Doc View Source

GetRawButtonReleased(Int32)

Declaration
public bool GetRawButtonReleased(int button)
Parameters
Type Name Description
Int32 button
Returns
Type Description
Boolean
| Improve this Doc View Source

GetX()

Declaration
public double GetX()
Returns
Type Description
Double
| Improve this Doc View Source

GetX(GenericHID.JoystickHand)

Declaration
public abstract double GetX(GenericHID.JoystickHand hand)
Parameters
Type Name Description
GenericHID.JoystickHand hand
Returns
Type Description
Double
| Improve this Doc View Source

GetY()

Declaration
public double GetY()
Returns
Type Description
Double
| Improve this Doc View Source

GetY(GenericHID.JoystickHand)

Declaration
public abstract double GetY(GenericHID.JoystickHand hand)
Parameters
Type Name Description
GenericHID.JoystickHand hand
Returns
Type Description
Double
| Improve this Doc View Source

SetOutput(Int32, Boolean)

Declaration
public void SetOutput(int outputNumber, bool value)
Parameters
Type Name Description
Int32 outputNumber
Boolean value
| 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
Type Name Description
GenericHID.RumbleType type
Double value
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet