terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Public Types | |
enum | ControlScheme { CONTROLS_1234 , CONTROLS_ABXY_GREY , CONTROLS_ABXY_XBOX , CONTROLS_OUYA , CONTROLS_PS4 , CONTROLS_ABXY_STEELSERIES , CONTROLS_SWITCH , CONTROLS_STADIA } |
Public Member Functions | |
ControllerDevice (InputDevice device) | |
ControllerDevice (InputDevice leftDevice, InputDevice rightDevice) | |
ControllerDevice () | |
bool | HasAxis (Axis axis) |
bool | HasButton (Buttons button) |
float | GetAxis (Axis axis) |
float | GetAxisTime (Axis axis) |
float | GetAxisScaled (Axis axis) |
float | GetPreviousAxis (Axis axis) |
float | GetPreviousAxisScaled (Axis axis) |
float | ButtonTime (Buttons key) |
bool | ButtonConsumed (Buttons key) |
void | SetButtonConsumbed (Buttons key) |
bool | ButtonState (Buttons key) |
bool | PreviousButtonState (Buttons key) |
bool | ButtonUp (Buttons key) |
bool | ButtonDown (Buttons key) |
void | SetFakedButton (Buttons key) |
void | SetFakedAxis (Axis axis, float value) |
void | ResetState () |
bool | Update (float elapsedTime) |
Public Attributes | |
ControllerDevice.ControlScheme | Controls |
InputDevice | Device |
InputDevice | Device2 |
Properties | |
static bool | SwapBumpersTriggers [get, set] |
Private Member Functions | |
float | GetAxisRaw (Axis axis) |
float | GetAxisRaw2 (Axis axis) |
bool | GetKeyRaw (Buttons key) |
bool | GetKeyRaw2 (Buttons key) |
Private Attributes | |
readonly float[] | AxisValue |
readonly float[] | AxisValueScaled |
readonly float[] | PreviousAxisValue |
readonly float[] | PreviousAxisValueScaled |
readonly float[] | _AxisTime |
readonly float[] | _KeyTime |
readonly bool[] | _KeyState |
readonly bool[] | _KeyConsumed |
readonly bool[] | _PreviousKeyState |
readonly bool[] | _KeyStateUp |
readonly bool[] | _KeyStateDown |
readonly float[] | _fakedAxisValues |
readonly bool[] | _fakedDeviceButtons |
Definition at line 14 of file ControllerDevice.cs.