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

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

#include <ddjoystick.h>

Inheritance diagram for ButtonJoystickBasic:
JoystickInterface ButtonJoystick DecodedJoystick ButtonsOnly

Protected Member Functions

 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

- 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)
 
- Static Public Attributes inherited from JoystickInterface
static const long BlackOutMillis = 50
 

Detailed Description

Helper class for joystick input tracking. See JoystickInterface.

Member Function Documentation

◆ _checkPressedX()

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

Reimplemented from JoystickInterface.

◆ _checkPressedY()

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

Reimplemented from JoystickInterface.