DayZ 1.24
|
Enumerations | |
enum | GamepadButton { BUTTON_NONE , MENU , VIEW , A , B , X , Y , PAD_UP , PAD_DOWN , PAD_LEFT , PAD_RIGHT , SHOULDER_LEFT , SHOULDER_RIGHT , THUMB_LEFT , THUMB_RIGHT } |
enum | GamepadAxis { LEFT_THUMB_HORIZONTAL , LEFT_THUMB_VERTICAL , RIGHT_THUMB_HORIZONTAL , RIGHT_THUMB_VERTICAL , LEFT_TRIGGER , RIGHT_TRIGGER } |
Functions | |
proto native int | GetGamepadButton (GamepadButton button) |
return if the button is pressed or not | |
proto native float | GetGamepadAxis (GamepadAxis axis) |
return value in gamepad axis <-1000; 1000> | |
Enumerator | |
---|---|
LEFT_THUMB_HORIZONTAL | |
LEFT_THUMB_VERTICAL | |
RIGHT_THUMB_HORIZONTAL | |
RIGHT_THUMB_VERTICAL | |
LEFT_TRIGGER | |
RIGHT_TRIGGER |
Definition at line 359 of file EnSystem.c.
Enumerator | |
---|---|
BUTTON_NONE | |
MENU | |
VIEW | |
A | |
B | |
X | |
Y | |
PAD_UP | |
PAD_DOWN | |
PAD_LEFT | |
PAD_RIGHT | |
SHOULDER_LEFT | |
SHOULDER_RIGHT | |
THUMB_LEFT | |
THUMB_RIGHT |
Definition at line 340 of file EnSystem.c.
proto native float GetGamepadAxis | ( | GamepadAxis | axis | ) |
return value in gamepad axis <-1000; 1000>
proto native int GetGamepadButton | ( | GamepadButton | button | ) |
return if the button is pressed or not