CInputScriptManager

Trackmania Next API


CInputScriptManager

ID 0x13011000
Uninstantiable

Inherits from MwFoundations::CMwNod

Input devices.

Methods

wstring GetPadButtonPlaygroundBinding(CInputScriptPad@ Pad, CInputScriptManager::EButton Button)

wstring GetPadButtonCurrentBinding(CInputScriptPad@ Pad, CInputScriptManager::EButton Button)

wstring GetPadButtonBinding(CInputScriptPad@ Pad, CInputScriptManager::EButton Button)

string GetActionBindingRaw(CInputScriptPad@ Pad, string ActionMap, string ActionId)

wstring GetActionBinding(CInputScriptPad@ Pad, string ActionMap, string ActionId)

wstring GetActionDisplayName(string ActionMap, string ActionId)

bool IsKeyPressed(int KeyCode)

Members

const MwFastBuffer<CInputScriptEvent@> PendingEvents

const uint Now

const uint Period

const MwFastBuffer<CInputScriptPad@> Pads

const vec2 MousePos

const vec2 MouseKineticScrollVel

const bool MouseLeftButton

const bool MouseRightButton

const bool MouseMiddleButton

const MwFastBuffer<vec2> TouchPoints_Cur

const MwFastBuffer<vec2> TouchPoints_Init

const bool JapanStylePadButtons

bool ExclusiveMode

uint Dbg_AutoRepeat_InitialDelay

uint Dbg_AutoRepeat_Period

const CInputScriptPad@ LatestActivePad

const CInputScriptManager::EPadType LatestActivePadType

EPadType::Keyboard
EPadType::Mouse
EPadType::Generic
EPadType::XBox
EPadType::PlayStation
EPadType::Vive

const uint TimeSinceLatestActivity

const uint TimeSinceLatestMouseActivity

const uint TimeSinceLatestTouchActivity

const uint TimeSinceLatestKeyboardActivity

const uint TimeSinceLatestPadActivity

Inherited members CMwNod

string IdName

const MwId Id

Enums

EButton

EButton::Left
EButton::Right
EButton::Up
EButton::Down
EButton::A
EButton::B
EButton::X
EButton::Y
EButton::L1
EButton::R1
EButton::LeftStick
EButton::RightStick
EButton::Menu
EButton::View
EButton::LeftStick_Left
EButton::LeftStick_Right
EButton::LeftStick_Up
EButton::LeftStick_Down
EButton::RightStick_Left
EButton::RightStick_Right
EButton::RightStick_Up
EButton::RightStick_Down
EButton::L2
EButton::R2
EButton::None

EPadType

EPadType::Keyboard
EPadType::Mouse
EPadType::Generic
EPadType::XBox
EPadType::PlayStation
EPadType::Vive

Documentation from build 2024-12-12 15:15:35
(Page rendering: 0.04 seconds, 14.66 MB)