NAP
Public Member Functions | Public Attributes | List of all members
ControllerConnectionEvent Class Reference

#include <inputevent.h>

Public Member Functions

 ControllerConnectionEvent (int deviceID, bool connected)
 
- Public Member Functions inherited from ControllerEvent
 ControllerEvent (int deviceID)
 
- Public Member Functions inherited from Event
virtual ~Event ()=default
 
 Event ()=default
 
 Event (const Event &)=delete
 
Eventoperator= (const Event &)=delete
 

Public Attributes

bool mConnected = false
 If the controller connected (true) or disconnected (false) More...
 
- Public Attributes inherited from ControllerEvent
int mDeviceID = -1
 Hardware device if of controller. More...
 

Description

Occurs when a controller is disconnected

Inheritance diagram for ControllerConnectionEvent:
[legend]
Collaboration diagram for ControllerConnectionEvent:
[legend]

Constructor & Destructor Documentation

◆ ControllerConnectionEvent()

ControllerConnectionEvent ( int  deviceID,
bool  connected 
)

Member Data Documentation

◆ mConnected

bool mConnected = false

If the controller connected (true) or disconnected (false)