This page has been translated automatically.
Programming
Fundamentals
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
Containers
Common Functionality
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related 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

Inherits:Controls

ControlsSixAxis Class

Members


static ControlsSixAxis(int num)

Arguments

  • int num

int isAvailable()

int getButton(int button)

Arguments

  • int button

void setFilter(float filter)

Arguments

  • float filter

float getFilter()

void setLargeMotor(float speed)

Arguments

  • float speed

float getLeftX()

float getLeftY()

string getName()

int getNumber()

float getPressCircle()

float getPressCross()

float getPressDown()

float getPressL1()

float getPressL2()

float getPressLeft()

float getPressR1()

float getPressR2()

float getPressRight()

float getPressSquare()

float getPressTriangle()

float getPressUp()

float getRightX()

float getRightY()

float getSensorG()

float getSensorX()

float getSensorY()

float getSensorZ()

void setSmallMotor(float speed)

Arguments

  • float speed

void setStateButton(int state, int button)

Arguments

  • int state
  • int button

int getStateButton(int state)

Arguments

  • int state

void getStateEvent(int state)

Arguments

  • int state

int isStateEvent()

string getStateName(int state)

Arguments

  • int state

int clearButton(int button)

Arguments

  • int button

int restoreState(Stream stream)

Arguments

  • Stream stream

int saveState(Stream stream)

Arguments

  • Stream stream

int updateEvents()


int CONTROLS_SIXAXIS_BUTTON_CIRCLE

int CONTROLS_SIXAXIS_BUTTON_CROSS

int CONTROLS_SIXAXIS_BUTTON_DOWN

int CONTROLS_SIXAXIS_BUTTON_L1

int CONTROLS_SIXAXIS_BUTTON_L2

int CONTROLS_SIXAXIS_BUTTON_L3

int CONTROLS_SIXAXIS_BUTTON_LEFT

int CONTROLS_SIXAXIS_BUTTON_R1

int CONTROLS_SIXAXIS_BUTTON_R2

int CONTROLS_SIXAXIS_BUTTON_R3

int CONTROLS_SIXAXIS_BUTTON_RIGHT

int CONTROLS_SIXAXIS_BUTTON_SELECT

int CONTROLS_SIXAXIS_BUTTON_SQUARE

int CONTROLS_SIXAXIS_BUTTON_START

int CONTROLS_SIXAXIS_BUTTON_TRIANGLE

int CONTROLS_SIXAXIS_BUTTON_UP

int CONTROLS_SIXAXIS_NUM_BUTTONS

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