game controller.
More...
#include <doc.h>
|
| 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
} |
| |
◆ EButton
| Enumerator |
|---|
| 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 | |
◆ EPadType
| Enumerator |
|---|
| Keyboard | |
| Mouse | |
| Generic | |
| XBox | |
| PlayStation | |
| Vive | |
◆ AddRumble()
Duration = 0 --> forever.
◆ ClearRumble()
| Void CInputPad::ClearRumble |
( |
| ) |
|
◆ SetColor()
(only works on PS4.) set to (0,0,0) to reset back to default color.
◆ ButtonEvents
◆ ControllerId
| Integer const CInputPad::ControllerId |
◆ Down
◆ IdleDuration
| Integer const CInputPad::IdleDuration |
◆ L1
◆ L2
Values in range (0.000000-1.000000)
◆ Left
◆ LeftStickBut
| Integer const CInputPad::LeftStickBut |
◆ LeftStickX
| Real const CInputPad::LeftStickX |
Values in range (-1.000000-1.000000)
◆ LeftStickY
| Real const CInputPad::LeftStickY |
Values in range (-1.000000-1.000000)
◆ Menu
◆ ModelName
| Text const CInputPad::ModelName |
◆ R1
◆ R2
Values in range (0.000000-1.000000)
◆ Right
◆ RightStickBut
| Integer const CInputPad::RightStickBut |
◆ RightStickX
| Real const CInputPad::RightStickX |
Values in range (-1.000000-1.000000)
◆ RightStickY
| Real const CInputPad::RightStickY |
Values in range (-1.000000-1.000000)
◆ Type
◆ Up
◆ UserId
| Ident const CInputPad::UserId |
◆ View
The documentation for this class was generated from the following file: