Helper class for joystick input tracking. See JoystickInterface.
More...
#include <ddjoystick.h>
|
| JoystickJoystick (JoystickPressTracker *xTracker, JoystickPressTracker *yTracker, ButtonPressTracker *swTracker) |
|
const JoystickPress * | checkJoystickPress (int repeat=0) |
|
bool | checkSWPressed (int repeat=0) |
|
bool | forButtonsOnly () const |
|
const ABCDPressed * | checkABCDPressed (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) |
|
|
virtual int | _checkPressedX (int repeat, bool raw) |
|
virtual int | _checkPressedY (int repeat, bool raw) |
|
virtual bool | _checkPressed (char button, int repeat, bool bypass) |
|
| 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) |
|
|
static const long | BlackOutMillis = 50 |
|
Helper class for joystick input tracking. See JoystickInterface.
◆ _checkPressed()
virtual bool JoystickJoystick::_checkPressed |
( |
char |
button, |
|
|
int |
repeat, |
|
|
bool |
bypass |
|
) |
| |
|
inlineprotectedvirtual |
◆ _checkPressedX()
virtual int JoystickJoystick::_checkPressedX |
( |
int |
repeat, |
|
|
bool |
raw |
|
) |
| |
|
inlineprotectedvirtual |
◆ _checkPressedY()
virtual int JoystickJoystick::_checkPressedY |
( |
int |
repeat, |
|
|
bool |
raw |
|
) |
| |
|
inlineprotectedvirtual |