43 ss <<
"ControllerDeviceConnectedEvent: joystick " << m_ControllerID;
82 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:65
#define EVENT_CLASS_TYPE(type)
A macro for a template for Event based classes.
Definition Event.h:73
#define EVENT_CLASS_CATEGORY(category)
Macro for the routine category flags.
Definition Event.h:82
ControllerDeviceConnectedEvent(int cID, int status)
A constructor.
Definition ControllerDeviceEvent.h:33
std::string ToString() const override
String representation of the event.
Definition ControllerDeviceEvent.h:40
ControllerDeviceDisconnectedEvent(int cID, int status)
A constructor.
Definition ControllerDeviceEvent.h:72
std::string ToString() const override
String representation of the event.
Definition ControllerDeviceEvent.h:79
The base class of all the events for Karma.
Definition Event.h:88