Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy

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 More...
 
proto native float GetGamepadAxis (GamepadAxis axis)
 return value in gamepad axis <-1000; 1000> More...
 

Detailed Description

Enumeration Type Documentation

◆ GamepadAxis

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.

◆ GamepadButton

Enumerator
BUTTON_NONE 
MENU 
VIEW 
PAD_UP 
PAD_DOWN 
PAD_LEFT 
PAD_RIGHT 
SHOULDER_LEFT 
SHOULDER_RIGHT 
THUMB_LEFT 
THUMB_RIGHT 

Definition at line 340 of file ensystem.c.

Function Documentation

◆ GetGamepadAxis()

proto native float GetGamepadAxis ( GamepadAxis  axis)

return value in gamepad axis <-1000; 1000>

◆ GetGamepadButton()

proto native int GetGamepadButton ( GamepadButton  button)

return if the button is pressed or not