#include <TInputDeviceController.h>
Public Types | |
| enum | VIBRATION_ACTUATOR |
Public Types inherited from TInputDevice | |
| using | EventEmitter = TInputInterface::EventEmitter |
| using | Doodad = TINT |
Public Types inherited from TObject | |
| enum | { IsTObject = TTRUE } |
Public Member Functions | |
| TDECLARE_CLASS (TInputDeviceController, TInputDevice) | |
| TInputDeviceController () | |
| ~TInputDeviceController () | |
| virtual TBOOL | GetDoodadProperties (Doodad a_iDoodad, DoodadProperties &a_rProperties) const override |
| virtual const TCHAR * | GetButtonFromDoodad (Doodad a_iDoodad) const override |
| virtual TBOOL | IsDown (Doodad a_iDoodad) const override |
| virtual void | SetVibration (VIBRATION_ACTUATOR a_eActuator, TFLOAT a_fValue) |
| virtual TBOOL | WasDown (Doodad a_iDoodad) const |
| virtual void | Unknown1 ()=0 |
| virtual TBOOL | Unknown2 () |
| virtual TINT | ProcessVirtualButtons (EventEmitter &a_rEmitter, float a_fDeltaTime) |
Public Member Functions inherited from TInputDevice | |
| TDECLARE_CLASS (TInputDevice, TObject) | |
| TInputDevice () | |
| ~TInputDevice ()=default | |
| virtual TBOOL | Acquire ()=0 |
| virtual TBOOL | Unacquire ()=0 |
| virtual void | Release ()=0 |
| virtual void | Update (TFLOAT deltaTime)=0 |
| virtual TBOOL | Flush () |
| virtual TINT | ProcessEvents (EventEmitter &emitter, TFLOAT deltaTime)=0 |
| virtual TINT | GetButtonCount () const =0 |
| virtual TINT | GetAxisCount () const =0 |
| virtual TBOOL | StartRepeat (Doodad a_iDoodad, TFLOAT a_fFirstRepeatTime, TFLOAT a_fRepeatTime) |
| virtual void | StopRepeat (Doodad a_iDoodad) |
| virtual void | StopAllRepeats () |
| virtual TBOOL | IsForceFeedbackDevice () |
| virtual TINT | GetAxisInt (Doodad a_iDoodad, TINT axis) const =0 |
| virtual TINT | GetAxisInt2 (Doodad a_iDoodad, TINT axis) const |
| virtual TFLOAT | GetAxisFloat (Doodad a_iDoodad, TINT axis) const =0 |
| virtual TFLOAT | GetAxisFloat2 (Doodad a_iDoodad, TINT axis) const |
| virtual TBOOL | IsEnabled () const =0 |
| virtual void | ThrowRepeatEvent (EventEmitter &emitter, RepeatInfo *repeatInfo, TFLOAT deltaTime) |
| TBOOL | IsAcquired () const |
| void | SetAcquired (TBOOL a_bAcquired) |
| TInputInterface * | GetInputInterface () |
| void | SetInputInterface (TInputInterface *a_pInterface) |
Public Member Functions inherited from TObject | |
| virtual Toshi::TClass * | GetClass () |
| virtual void | Delete () |
| virtual | ~TObject () |
| TBOOL | IsExactly (TClass *a_pClass) |
| TBOOL | IsA (TClass *a_pClass) |
Public Member Functions inherited from TNodeList< T >::TNode | |
| constexpr | TNode () |
| constexpr | TNode (const TNode &a_rcNode) |
| TNode (TNode &&a_rNode) | |
| T * | Next () const |
| T * | Prev () const |
| void | Remove () |
| void | SetList (TNodeList *list) |
| TNodeList * | GetList () const |
| TBOOL | IsLinked () const |
Static Public Attributes | |
| static constexpr TUINT | NUM_BUTTONS = 8 |
Static Public Attributes inherited from TInputDevice | |
| static constexpr TINT | INPUT_DEVICE_MOUSE_BUTTONS = 3 |
| static constexpr TINT | INPUT_DEVICE_MOUSE_WHEEL = 4 |
Static Public Attributes inherited from TObject | |
| static constexpr Toshi::TClass * | PARENTCLASS = TNULL |
| static constinit Toshi::TClass | ms_oClass = Toshi::TClass( "TObject", TObject::CreateTObject, TObject::CreateTObjectInPlace, TObject::InitialiseClass, TObject::DeinitialiseClass, 0, 2, sizeof( TObject ), alignof( TObject ) ) |
Additional Inherited Members | |
Static Public Member Functions inherited from TInputDevice | |
| static TInputDevice ** | GetRegisteredDevices () |
| static TUINT | GetNumRegisteredDevices () |
Static Public Member Functions inherited from TObject | |
| static Toshi::TObject * | CreateTObject () |
| static Toshi::TObject * | CreateTObjectInPlace (void *a_pPtr) |
| static void | InitialiseClass () |
| static void | DeinitialiseClass () |
| static TFORCEINLINE TClass * | GetClassStatic () |
Protected Member Functions inherited from TInputDevice | |
| TINT | ProcessRepeats (EventEmitter &a_rEmitter, TFLOAT a_fDeltaTime) |
Protected Attributes inherited from TInputDevice | |
| TUINT | m_uiDeviceIndex |
| TArray< RepeatInfo > | m_Repeats |
| TArray< void * > | m_Array2 |
| TBOOL | m_bUnknown |
| TBOOL | m_bIsAcquired |
| TInputInterface * | m_pInputInterface |
Protected Attributes inherited from TNodeList< T >::TNode | |
| friend | TNodeList |
| TNodeList * | m_pList |
| T * | m_pNext |
| T * | m_pPrev |
Static Protected Attributes inherited from TInputDevice | |
| static constexpr TUINT | MAX_DEVICE_COUNT = 14 |
| static TInputDevice * | s_aDevices [MAX_DEVICE_COUNT] |
| static TUINT | s_uiDeviceCount |
Definition at line 17 of file TInputDeviceController.h.
Definition at line 25 of file TInputDeviceController.h.
| TInputDeviceController::TInputDeviceController | ( | ) |
Definition at line 15 of file TInputDeviceController.cpp.
| TInputDeviceController::~TInputDeviceController | ( | ) |
Definition at line 24 of file TInputDeviceController.cpp.
Implements TInputDevice.
Definition at line 49 of file TInputDeviceController.cpp.
|
overridevirtual |
Implements TInputDevice.
Definition at line 29 of file TInputDeviceController.cpp.
Implements TInputDevice.
Definition at line 115 of file TInputDeviceController.cpp.
|
virtual |
Definition at line 176 of file TInputDeviceController.cpp.
|
virtual |
Definition at line 140 of file TInputDeviceController.cpp.
| TInputDeviceController::TDECLARE_CLASS | ( | TInputDeviceController | , |
| TInputDevice | ) |
|
pure virtual |
|
virtual |
Definition at line 170 of file TInputDeviceController.cpp.
Definition at line 145 of file TInputDeviceController.cpp.
|
staticconstexpr |
Definition at line 23 of file TInputDeviceController.h.