GlistEngine
Loading...
Searching...
No Matches
gJoystickConnectEvent Class Reference

#include <gWindowEvents.h>

Inheritance diagram for gJoystickConnectEvent:
Collaboration diagram for gJoystickConnectEvent:

Public Member Functions

 gJoystickConnectEvent (int joystickId, bool isgamepad)
 
int getJoystickId () const
 
bool isGamepad () const
 
- Public Member Functions inherited from gEvent
virtual ~gEvent ()=default
 
virtual const char * getEventName () const =0
 
virtual std::size_t getEventType () const =0
 
virtual int getCategoryFlags () const =0
 
bool isInCategory (EventCategory category)
 

Additional Inherited Members

- Public Attributes inherited from gEvent
bool ishandled = false
 

Constructor & Destructor Documentation

◆ gJoystickConnectEvent()

gJoystickConnectEvent::gJoystickConnectEvent ( int  joystickId,
bool  isgamepad 
)
inline

Member Function Documentation

◆ getJoystickId()

int gJoystickConnectEvent::getJoystickId ( ) const
inline

◆ isGamepad()

bool gJoystickConnectEvent::isGamepad ( ) const
inline

The documentation for this class was generated from the following file: