This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Bounds-Related Classes
Containers
Core Library
Engine-Related Classes
GUI-Related Classes
Node-Related Classes
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Utility Classes
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

ControlsSixAxis Class

ControlsSixAxis Class

Members


ControlsSixAxis ()

ControlsSixAxis (int num)

Arguments

  • int num

int getButton (int button)

Arguments

  • int button

Return value

const char * getStateName (int state)

Arguments

  • int state

Return value

float getSensorX ()

Return value

float getPressCircle ()

Return value

int saveState (const Ptr<Stream> & stream)

Arguments

  • const Ptr<Stream> & stream

Return value

float getLeftY ()

Return value

float getPressLeft ()

Return value

float getLeftX ()

Return value

float getRightX ()

Return value

float getSensorY ()

Return value

int getStateButton (int state)

Arguments

  • int state

Return value

float getPressL1 ()

Return value

float getPressL2 ()

Return value

float getPressRight ()

Return value

float getPressTriangle ()

Return value

float getPressCross ()

Return value

float getPressDown ()

Return value

int getNumber ()

Return value

float getFilter ()

Return value

int isAvailable ()

Return value

void setLargeMotor (float speed)

Arguments

  • float speed

void setSmallMotor (float speed)

Arguments

  • float speed

float getSensorG ()

Return value

int restoreState (const Ptr<Stream> & stream)

Arguments

  • const Ptr<Stream> & stream

Return value

int isStateEvent ()

Return value

int clearButton (int button)

Arguments

  • int button

Return value

float getPressR1 ()

Return value

void getStateEvent (int state)

Arguments

  • int state

const char * getName ()

Return value

int updateEvents ()

Return value

void setFilter (float filter)

Arguments

  • float filter

float getPressUp ()

Return value

float getSensorZ ()

Return value

float getPressR2 ()

Return value

void setStateButton (int state, int button)

Arguments

  • int state
  • int button

float getRightY ()

Return value

float getPressSquare ()

Return value


int BUTTON_L1

int BUTTON_R1

int BUTTON_L2

int BUTTON_R2

int BUTTON_L3

int BUTTON_R3

int BUTTON_UP

int BUTTON_DOWN

int BUTTON_LEFT

int BUTTON_RIGHT

int BUTTON_TRIANGLE

int BUTTON_CIRCLE

int BUTTON_CROSS

int BUTTON_SQUARE

int BUTTON_START

int BUTTON_SELECT

int NUM_BUTTONS

Last update: 2017-07-03
Build: ()