ManiaScript Reference
2019-05
|
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 | |
const Integer | ControllerId |
const Ident | UserId |
const EPadType | Type |
const Text | ModelName |
const Integer | IdleDuration |
const Integer | Left |
const Integer | Right |
const Integer | Up |
const Integer | Down |
const Integer | A |
const Integer | B |
const Integer | X |
const Integer | Y |
const Integer | L1 |
const Integer | R1 |
const Integer | LeftStickBut |
const Integer | RightStickBut |
const Integer | Menu |
const Integer | View |
const Real | LeftStickX |
const Real | LeftStickY |
const Real | RightStickX |
const Real | RightStickY |
const Real | L2 |
const Real | R2 |
const EButton [] | ButtonEvents |
Public Attributes inherited from CNod | |
const Ident | 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.
const Integer CInputPad::A |
const Integer CInputPad::B |
const EButton [] CInputPad::ButtonEvents |
const Integer CInputPad::ControllerId |
const Integer CInputPad::Down |
const Integer CInputPad::IdleDuration |
const Integer CInputPad::L1 |
const Real CInputPad::L2 |
Values in range (0.000000-1.000000)
const Integer CInputPad::Left |
const Integer CInputPad::LeftStickBut |
const Real CInputPad::LeftStickX |
Values in range (-1.000000-1.000000)
const Real CInputPad::LeftStickY |
Values in range (-1.000000-1.000000)
const Integer CInputPad::Menu |
const Text CInputPad::ModelName |
const Integer CInputPad::R1 |
const Real CInputPad::R2 |
Values in range (0.000000-1.000000)
const Integer CInputPad::Right |
const Integer CInputPad::RightStickBut |
const Real CInputPad::RightStickX |
Values in range (-1.000000-1.000000)
const Real CInputPad::RightStickY |
Values in range (-1.000000-1.000000)
const EPadType CInputPad::Type |
const Integer CInputPad::Up |
const Ident CInputPad::UserId |
const Integer CInputPad::View |
const Integer CInputPad::X |
const Integer CInputPad::Y |