45 ss <<
"ControllerDeviceConnectedEvent: joystick " << m_ControllerID;
84 ss <<
"ControllerDeviceDisconnectedEvent: joystick " << m_ControllerID;
#define KARMA_API
Defining Karma's API macro for storage class information.
Definition Core.h:41
This file contains the base class Event for Karma's events.
@ EventCategoryGameControllerDevice
Events belonging to game controller devices' input.
Definition Event.h:67
#define EVENT_CLASS_TYPE(type)
A macro for a template for Event based classes.
Definition Event.h:75
#define EVENT_CLASS_CATEGORY(category)
Macro for the routine category flags.
Definition Event.h:84
ControllerDeviceConnectedEvent(int cID, int status)
A constructor.
Definition ControllerDeviceEvent.h:35
std::string ToString() const override
String representation of the event.
Definition ControllerDeviceEvent.h:42
ControllerDeviceDisconnectedEvent(int cID, int status)
A constructor.
Definition ControllerDeviceEvent.h:74
std::string ToString() const override
String representation of the event.
Definition ControllerDeviceEvent.h:81
The base class of all the events for Karma.
Definition Event.h:90