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

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

#include <ddjoystick.h>

Inheritance diagram for ButtonJoystick:
ButtonJoystickBasic JoystickInterface ButtonsOnly

Public Member Functions

 ButtonJoystick (ButtonPressTracker *upTracker, ButtonPressTracker *rightTracker, ButtonPressTracker *downTracker, ButtonPressTracker *leftTracker, ButtonPressTracker *midTracker)
 
- 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

 ButtonJoystick (ButtonPressTracker *upTracker, ButtonPressTracker *rightTracker, ButtonPressTracker *downTracker, ButtonPressTracker *leftTracker, ButtonPressTracker *midTracker, bool buttonsOnly)
 
virtual bool _checkPressed (char button, int repeat, bool bypass)
 
- Protected Member Functions inherited from ButtonJoystickBasic
 ButtonJoystickBasic (bool buttonsOnly)
 
virtual int _checkPressedX (int repeat, bool raw)
 
virtual int _checkPressedY (int repeat, bool raw)
 
- 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 ButtonJoystick::_checkPressed ( char  button,
int  repeat,
bool  bypass 
)
inlineprotectedvirtual

Reimplemented from JoystickInterface.