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

Unigine::ControlsSixAxis Class

Header:#include <UnigineControls.h>
Inherits:Controls

ControlsSixAxis Class

Members


static ControlsSixAxisPtr create(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()

const char * 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()

const char * getStateName(int state)

Arguments

  • int state

int clearButton(int button)

Arguments

  • int button

int restoreState(const Ptr<Stream> & stream)

Arguments

  • const Ptr<Stream> & stream

int saveState(const Ptr<Stream> & stream)

Arguments

  • const Ptr<Stream> & stream

int updateEvents()


int BUTTON_CIRCLE

int BUTTON_CROSS

int BUTTON_DOWN

int BUTTON_L1

int BUTTON_L2

int BUTTON_L3

int BUTTON_LEFT

int BUTTON_R1

int BUTTON_R2

int BUTTON_R3

int BUTTON_RIGHT

int BUTTON_SELECT

int BUTTON_SQUARE

int BUTTON_START

int BUTTON_TRIANGLE

int BUTTON_UP

int NUM_BUTTONS

Last update: 2017-07-03