ArduinoDumbDisplay v0.9.9-r34
DumbDisplay Arduino Library -- https://github.com/trevorwslee/Arduino-DumbDisplay
 
Loading...
Searching...
No Matches
JoystickJoystick Class Reference

Helper class for joystick input tracking. See JoystickInterface. More...

#include <ddjoystick.h>

Inheritance diagram for JoystickJoystick:
JoystickInterface

Public Member Functions

 JoystickJoystick (JoystickPressTracker *xTracker, JoystickPressTracker *yTracker, ButtonPressTracker *swTracker)
 
- Public Member Functions inherited from JoystickInterface
const JoystickPresscheckJoystickPress (int repeat=0)
 
bool checkSWPressed (int repeat=0)
 
bool forButtonsOnly () const
 
const ABCDPressedcheckABCDPressed (int repeat=0)
 
bool checkAPressed (int repeat=0)
 
bool checkBPressed (int repeat=0)
 
bool checkCPressed (int repeat=0)
 
bool checkDPressed (int repeat=0)
 
bool checkJoystickPressCode (JoystickPressCode &joystickPressCode, int repeat=0)
 

Protected Member Functions

virtual int _checkPressedX (int repeat, bool raw)
 
virtual int _checkPressedY (int repeat, bool raw)
 
virtual bool _checkPressed (char button, int repeat, bool bypass)
 
- Protected Member Functions inherited from JoystickInterface
 JoystickInterface (bool buttonsOnly)
 
bool _checkPressed (char button, int repeat)
 
bool _checkPressedBypass (char button)
 
virtual int _checkPressedX (int repeat, bool raw)
 
virtual int _checkPressedY (int repeat, bool raw)
 
virtual bool _checkPressed (char button, int repeat, bool bypass)
 

Additional Inherited Members

- Static Public Attributes inherited from JoystickInterface
static const long BlackOutMillis = 50
 

Detailed Description

Helper class for joystick input tracking. See JoystickInterface.

Member Function Documentation

◆ _checkPressed()

virtual bool JoystickJoystick::_checkPressed ( char  button,
int  repeat,
bool  bypass 
)
inlineprotectedvirtual

Reimplemented from JoystickInterface.

◆ _checkPressedX()

virtual int JoystickJoystick::_checkPressedX ( int  repeat,
bool  raw 
)
inlineprotectedvirtual

Reimplemented from JoystickInterface.

◆ _checkPressedY()

virtual int JoystickJoystick::_checkPressedY ( int  repeat,
bool  raw 
)
inlineprotectedvirtual

Reimplemented from JoystickInterface.