![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <InputDevice.h>
Public Member Functions | |
| InputDeviceSlot ()=default | |
| InputDeviceSlot (InputDeviceType t, int idx, const std::string &name) | |
| bool | IsAssigned () const |
| bool | IsAvailable () const |
Public Attributes | |
| InputDeviceType | type = InputDeviceType::None |
| int | deviceIndex = -1 |
| short | assignedPlayerID = -1 |
| bool | isConnected = false |
| std::string | deviceName |
| std::shared_ptr< InputProfile > | profile |
Definition at line 125 of file InputDevice.h.
|
default |
|
inline |
Definition at line 135 of file InputDevice.h.
|
inline |
Definition at line 138 of file InputDevice.h.
References assignedPlayerID.
Referenced by IsAvailable().
Here is the caller graph for this function:
|
inline |
Definition at line 139 of file InputDevice.h.
References IsAssigned(), and isConnected.
Here is the call graph for this function:| short InputDeviceSlot::assignedPlayerID = -1 |
Definition at line 128 of file InputDevice.h.
Referenced by InputDeviceManager::AssignDeviceToPlayer(), and IsAssigned().
| int InputDeviceSlot::deviceIndex = -1 |
Definition at line 127 of file InputDevice.h.
| std::string InputDeviceSlot::deviceName |
Definition at line 130 of file InputDevice.h.
Referenced by InputDeviceManager::AutoAssignDevice().
Definition at line 129 of file InputDevice.h.
Referenced by IsAvailable().
| std::shared_ptr<InputProfile> InputDeviceSlot::profile |
Definition at line 131 of file InputDevice.h.
| InputDeviceType InputDeviceSlot::type = InputDeviceType::None |
Definition at line 126 of file InputDevice.h.