![]() |
ManiaScript Trackmania 2020
30/10/2024
|
game controller. More...
#include <2024_10_30.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 |
![]() | |
Ident const | Id |
game controller.
Definition at line 14799 of file 2024_10_30.h.
enum CInputPad::EButton |
Definition at line 14804 of file 2024_10_30.h.
enum CInputPad::EPadType |
Enumerator | |
---|---|
Keyboard | |
Mouse | |
Generic | |
XBox | |
PlayStation | |
Vive |
Definition at line 14834 of file 2024_10_30.h.
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 |
Definition at line 14881 of file 2024_10_30.h.
Integer const CInputPad::B |
Definition at line 14885 of file 2024_10_30.h.
Array<CInputPad::EButton> CInputPad::ButtonEvents |
Definition at line 14945 of file 2024_10_30.h.
Integer const CInputPad::ControllerId |
Definition at line 14845 of file 2024_10_30.h.
Integer const CInputPad::Down |
Definition at line 14877 of file 2024_10_30.h.
Integer const CInputPad::IdleDuration |
Definition at line 14861 of file 2024_10_30.h.
Integer const CInputPad::L1 |
Definition at line 14897 of file 2024_10_30.h.
Real const CInputPad::L2 |
Values in range (0.000000-1.000000)
Definition at line 14937 of file 2024_10_30.h.
Integer const CInputPad::Left |
Definition at line 14865 of file 2024_10_30.h.
Integer const CInputPad::LeftStickBut |
Definition at line 14905 of file 2024_10_30.h.
Real const CInputPad::LeftStickX |
Values in range (-1.000000-1.000000)
Definition at line 14921 of file 2024_10_30.h.
Real const CInputPad::LeftStickY |
Values in range (-1.000000-1.000000)
Definition at line 14925 of file 2024_10_30.h.
Integer const CInputPad::Menu |
Definition at line 14913 of file 2024_10_30.h.
Text const CInputPad::ModelName |
Definition at line 14857 of file 2024_10_30.h.
Integer const CInputPad::R1 |
Definition at line 14901 of file 2024_10_30.h.
Real const CInputPad::R2 |
Values in range (0.000000-1.000000)
Definition at line 14941 of file 2024_10_30.h.
Integer const CInputPad::Right |
Definition at line 14869 of file 2024_10_30.h.
Integer const CInputPad::RightStickBut |
Definition at line 14909 of file 2024_10_30.h.
Real const CInputPad::RightStickX |
Values in range (-1.000000-1.000000)
Definition at line 14929 of file 2024_10_30.h.
Real const CInputPad::RightStickY |
Values in range (-1.000000-1.000000)
Definition at line 14933 of file 2024_10_30.h.
CInputPad::EPadType const CInputPad::Type |
Definition at line 14853 of file 2024_10_30.h.
Integer const CInputPad::Up |
Definition at line 14873 of file 2024_10_30.h.
Ident const CInputPad::UserId |
Definition at line 14849 of file 2024_10_30.h.
Integer const CInputPad::View |
Definition at line 14917 of file 2024_10_30.h.
Integer const CInputPad::X |
Definition at line 14889 of file 2024_10_30.h.
Integer const CInputPad::Y |
Definition at line 14893 of file 2024_10_30.h.