KarmaEngine
Game Engine for practical learning and research purposes
|
Event triggered when controller device is disconnected. More...
#include <ControllerDeviceEvent.h>
Public Member Functions | |
ControllerDeviceDisconnectedEvent (int cID, int status) | |
A constructor. | |
std::string | ToString () const override |
String representation of the event. | |
![]() | |
virtual EventType | GetEventType () const =0 |
Getter for event name (type) | |
virtual const char * | GetName () const =0 |
Getter for event type. | |
virtual int | GetCategoryFlags () const =0 |
Getter for category flags (enum EventCategory) | |
bool | IsInCategory (EventCategory category) |
Routine to see if the category of the Event is (or a part of) given category. | |
bool | IsHandled () const |
Getter for the m_Handled. | |
Event * | GetObjPointer () |
Getter for the pointer to the object. | |
Additional Inherited Members | |
![]() | |
bool | m_Handled = false |
Event triggered when controller device is disconnected.
|
inline |
A constructor.
cID | The controller device ID, defined in GLFW |
status | Current status of the controller device, defined in GLFW #define GLFW_CONNECTED 0x00040001 #define GLFW_DISCONNECTED 0x00040002 |
|
inlineoverridevirtual |
String representation of the event.
Reimplemented from Karma::Event.