Definition at line 40 of file DigitalController.h.
Public Member Functions | |
virtual int | getDirection () const SEC_RAZOR=0 |
Return the current direction of the controller. | |
virtual int | getButtonCount () const SEC_RAZOR=0 |
Return the number of supported buttons. | |
virtual bool | isButtonPressed (int buttonIndex) const SEC_RAZOR=0 |
Return whether a button is currently pressed. | |
virtual | ~DigitalController ()=0 |
Static Public Attributes | |
const int | DIR_RELEASED = 0 |
const int | DIR_UP = 1 |
const int | DIR_DOWN = 2 |
const int | DIR_RIGHT = 4 |
const int | DIR_LEFT = 8 |
Protected Member Functions | |
DigitalController () SEC_RAZOR |
|
|
|
|
|
Return the current direction of the controller.
|
|
Return the number of supported buttons.
|
|
Return whether a button is currently pressed.
|
|
Definition at line 60 of file DigitalController.h. |
|
Definition at line 61 of file DigitalController.h. |
|
Definition at line 62 of file DigitalController.h. |
|
Definition at line 63 of file DigitalController.h. |
|
Definition at line 64 of file DigitalController.h. |