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
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)