![]() |
ManiaScript Trackmania 2020
14/07/2025
|
Input devices. More...
#include <2025_07_14.h>
Public Types | |
| enum | EButton { Left, Right, Up, Down, A, B, X, Y, L1, R1, LeftStick, RightStick, Menu, View, LeftStick_Left, LeftStick_Right, LeftStick_Up, LeftStick_Down, RightStick_Left, RightStick_Right, RightStick_Up, RightStick_Down, L2, R2, None } |
| enum | EPadType { Keyboard, Mouse, Generic, XBox, PlayStation, Vive } |
Public Member Functions | |
| Text | GetPadButtonPlaygroundBinding (CInputPad Pad, CInputManager::EButton Button) |
| Text | GetPadButtonCurrentBinding (CInputPad Pad, CInputManager::EButton Button) |
| Text | GetActionBindingRaw (CInputPad Pad, Text ActionMap, Text ActionId) |
| Text | GetActionBinding (CInputPad Pad, Text ActionMap, Text ActionId) |
| Text | GetActionDisplayName (Text ActionMap, Text ActionId) |
| Boolean | IsKeyPressed (Integer KeyCode) |
Public Attributes | |
| Array< CInputEvent *const > | PendingEvents |
| Integer const | Now |
| Integer const | Period |
| Array< CInputPad *const > | Pads |
| Vec2 const | MousePos |
| Vec2 const | MouseKineticScrollVel |
| Boolean const | MouseLeftButton |
| Boolean const | MouseRightButton |
| Boolean const | MouseMiddleButton |
| Array< Vec2 > | TouchPoints_Cur |
| Array< Vec2 > | TouchPoints_Init |
| Boolean const | JapanStylePadButtons |
| Boolean | ExclusiveMode |
| CInputPad *const | LatestActivePad |
| CInputManager::EPadType const | LatestActivePadType |
| Integer const | TimeSinceLatestActivity |
| Integer const | TimeSinceLatestMouseActivity |
| Integer const | TimeSinceLatestTouchActivity |
| Integer const | TimeSinceLatestKeyboardActivity |
| Integer const | TimeSinceLatestPadActivity |
Public Attributes inherited from CNod | |
| Ident const | Id |
Input devices.
Definition at line 4454 of file 2025_07_14.h.
Definition at line 4459 of file 2025_07_14.h.
| Enumerator | |
|---|---|
| Keyboard | |
| Mouse | |
| Generic | |
| XBox | |
| PlayStation | |
| Vive | |
Definition at line 4489 of file 2025_07_14.h.
| Text CInputManager::GetPadButtonCurrentBinding | ( | CInputPad | Pad, |
| CInputManager::EButton | Button | ||
| ) |
| Text CInputManager::GetPadButtonPlaygroundBinding | ( | CInputPad | Pad, |
| CInputManager::EButton | Button | ||
| ) |
| Boolean CInputManager::ExclusiveMode |
Definition at line 4568 of file 2025_07_14.h.
| Boolean const CInputManager::JapanStylePadButtons |
Definition at line 4564 of file 2025_07_14.h.
| CInputPad* const CInputManager::LatestActivePad |
Definition at line 4576 of file 2025_07_14.h.
| CInputManager::EPadType const CInputManager::LatestActivePadType |
Definition at line 4580 of file 2025_07_14.h.
| Vec2 const CInputManager::MouseKineticScrollVel |
Definition at line 4520 of file 2025_07_14.h.
| Boolean const CInputManager::MouseLeftButton |
Definition at line 4524 of file 2025_07_14.h.
| Boolean const CInputManager::MouseMiddleButton |
Definition at line 4532 of file 2025_07_14.h.
| Vec2 const CInputManager::MousePos |
Definition at line 4516 of file 2025_07_14.h.
| Boolean const CInputManager::MouseRightButton |
Definition at line 4528 of file 2025_07_14.h.
| Integer const CInputManager::Now |
Definition at line 4504 of file 2025_07_14.h.
Definition at line 4512 of file 2025_07_14.h.
| Array<CInputEvent* const > CInputManager::PendingEvents |
Definition at line 4500 of file 2025_07_14.h.
| Integer const CInputManager::Period |
Definition at line 4508 of file 2025_07_14.h.
| Integer const CInputManager::TimeSinceLatestActivity |
Duration (ms) elapsed since latest user interraction on any device.
Definition at line 4584 of file 2025_07_14.h.
| Integer const CInputManager::TimeSinceLatestKeyboardActivity |
Definition at line 4596 of file 2025_07_14.h.
| Integer const CInputManager::TimeSinceLatestMouseActivity |
Definition at line 4588 of file 2025_07_14.h.
| Integer const CInputManager::TimeSinceLatestPadActivity |
Definition at line 4600 of file 2025_07_14.h.
| Integer const CInputManager::TimeSinceLatestTouchActivity |
Definition at line 4592 of file 2025_07_14.h.
Definition at line 4536 of file 2025_07_14.h.
Definition at line 4540 of file 2025_07_14.h.