#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 | |
| Event & | operator= (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... | |
Occurs when a controller is disconnected
| ControllerConnectionEvent | ( | int | deviceID, |
| bool | connected | ||
| ) |
| bool mConnected = false |
If the controller connected (true) or disconnected (false)