![]() |
Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
|
game controller. More...
#include <doc.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 | |
| Void | ClearRumble () |
| Void | AddRumble (Integer Duration, Real LargeMotor, Real SmallMotor) |
| Void | SetColor (Vec3 Color) |
Public Attributes | |
| Integer const | ControllerId |
| Ident const | UserId |
| CInputPad::EPadType const | Type |
| Text const | ModelName |
| Integer const | IdleDuration |
| Integer const | Left |
| Integer const | Right |
| Integer const | Up |
| Integer const | Down |
| Integer const | A |
| Integer const | B |
| Integer const | X |
| Integer const | Y |
| Integer const | L1 |
| Integer const | R1 |
| Integer const | LeftStickBut |
| Integer const | RightStickBut |
| Integer const | Menu |
| Integer const | View |
| Real const | LeftStickX |
| Real const | LeftStickY |
| Real const | RightStickX |
| Real const | RightStickY |
| Real const | L2 |
| Real const | R2 |
| Array< CInputPad::EButton > | ButtonEvents |
| Public Attributes inherited from CNod | |
| Ident const | Id |
game controller.
| enum CInputPad::EButton |
| enum CInputPad::EPadType |
Duration = 0 --> forever.
| Void CInputPad::ClearRumble | ( | ) |
(only works on PS4.) set to (0,0,0) to reset back to default color.
| Integer const CInputPad::A |
| Integer const CInputPad::B |
| Array<CInputPad::EButton> CInputPad::ButtonEvents |
| Integer const CInputPad::ControllerId |
| Integer const CInputPad::Down |
| Integer const CInputPad::IdleDuration |
| Integer const CInputPad::L1 |
| Real const CInputPad::L2 |
Values in range (0.000000-1.000000)
| Integer const CInputPad::Left |
| Integer const CInputPad::LeftStickBut |
| Real const CInputPad::LeftStickX |
Values in range (-1.000000-1.000000)
| Real const CInputPad::LeftStickY |
Values in range (-1.000000-1.000000)
| Integer const CInputPad::Menu |
| Text const CInputPad::ModelName |
| Integer const CInputPad::R1 |
| Real const CInputPad::R2 |
Values in range (0.000000-1.000000)
| Integer const CInputPad::Right |
| Integer const CInputPad::RightStickBut |
| Real const CInputPad::RightStickX |
Values in range (-1.000000-1.000000)
| Real const CInputPad::RightStickY |
Values in range (-1.000000-1.000000)
| CInputPad::EPadType const CInputPad::Type |
| Integer const CInputPad::Up |
| Ident const CInputPad::UserId |
| Integer const CInputPad::View |
| Integer const CInputPad::X |
| Integer const CInputPad::Y |