ScummVM API documentation
ButtonPad Class Reference

Public Types

enum  ButtonType {
  BTN_UP_LEFT, BTN_UP_RIGHT, BTN_DOWN_RIGHT, BTN_DOWN_LEFT,
  BTN_RIGHT, BTN_DOWN, BTN_LEFT, BTN_UP,
  BTN_CROSS, BTN_CIRCLE, BTN_TRIANGLE, BTN_SQUARE,
  BTN_LTRIGGER, BTN_RTRIGGER, BTN_START, BTN_SELECT,
  BTN_LAST
}
 

Public Member Functions

void initButtons ()
 
void clearButtons ()
 
bool getEvent (Common::Event &event, PspEvent &pspEvent, SceCtrlData &pad)
 
bool getEventFromButtonState (Common::Event &event, PspEvent &pspEvent, uint32 buttonState)
 
void setShifted (ShiftMode shifted)
 
void setPadMode (PspPadMode mode)
 
bool isButtonDown ()
 
void enableCombos (bool value)
 
ButtongetButton (ButtonType type, ShiftMode mode)
 

The documentation for this class was generated from the following file: