[wpilib] Add IsJoystickConnected method (#2847)

This commit is contained in:
Austin Shalit
2020-11-13 14:11:10 -05:00
committed by GitHub
parent 6b5e83ce1d
commit de17422793
8 changed files with 129 additions and 0 deletions

View File

@@ -136,6 +136,13 @@ class GenericHID : public ErrorBase {
*/
int GetButtonCount() const;
/**
* Get if the HID is connected.
*
* @return true if the HID is connected
*/
bool IsConnected() const;
/**
* Get the type of the HID.
*