ManiaScript Reference  2019-05
CInputManager Struct Reference
Inheritance diagram for CInputManager:
CNod

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
}
 

Public Member Functions

Text GetPadButtonPlaygroundBinding (CInputPad Pad, EButton Button)
 
Text GetPadButtonCurrentBinding (CInputPad Pad, EButton Button)
 
Boolean IsKeyPressed (Integer KeyCode)
 

Public Attributes

const CInputEvent [] PendingEvents
 
const Integer Now
 
const Integer Period
 
const CInputPad [] Pads
 
const Vec2 MousePos
 
const Vec2 MouseKineticScrollVel
 
const Boolean MouseLeftButton
 
const Boolean MouseRightButton
 
const Boolean MouseMiddleButton
 
Boolean ExclusiveMode
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Input devices.

Member Enumeration Documentation

◆ EButton

Enumerator
Left 
Right 
Up 
Down 
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 

Member Function Documentation

◆ GetPadButtonCurrentBinding()

Text CInputManager::GetPadButtonCurrentBinding ( CInputPad  Pad,
EButton  Button 
)

◆ GetPadButtonPlaygroundBinding()

Text CInputManager::GetPadButtonPlaygroundBinding ( CInputPad  Pad,
EButton  Button 
)

◆ IsKeyPressed()

Boolean CInputManager::IsKeyPressed ( Integer  KeyCode)

Member Data Documentation

◆ ExclusiveMode

Boolean CInputManager::ExclusiveMode

◆ MouseKineticScrollVel

const Vec2 CInputManager::MouseKineticScrollVel

◆ MouseLeftButton

const Boolean CInputManager::MouseLeftButton

◆ MouseMiddleButton

const Boolean CInputManager::MouseMiddleButton

◆ MousePos

const Vec2 CInputManager::MousePos

◆ MouseRightButton

const Boolean CInputManager::MouseRightButton

◆ Now

const Integer CInputManager::Now

◆ Pads

const CInputPad [] CInputManager::Pads

◆ PendingEvents

const CInputEvent [] CInputManager::PendingEvents

◆ Period

const Integer CInputManager::Period