Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CInputManager Class Reference

Input devices. More...

#include <doc.h>

Inheritance diagram for CInputManager:
[legend]

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< Vec2TouchPoints_Cur
 
Array< Vec2TouchPoints_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
 

Detailed Description

Input devices.

Member Data Documentation

◆ TimeSinceLatestActivity

Integer const CInputManager::TimeSinceLatestActivity

Duration (ms) elapsed since latest user interraction on any device.


The documentation for this class was generated from the following file: