GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::events::ControllerButtonEventBase Struct Reference

Controller button Event base. More...

#include <GREM/events/Event.hpp>

Inheritance diagram for grem::events::ControllerButtonEventBase:

Public Member Functions

Input getInput () const noexcept
 Get the general identifier of the physical controller button input.

Public Attributes

ControllerButton controllerButton
 Physical controller button.
Public Attributes inherited from grem::events::ControllerEventBase
uint32_t controllerID
 Unique identifier of the controller instance.
Public Attributes inherited from grem::events::InputEventBase
uint32_t windowID
 Unique identifier of the window that this event belongs to, if any.
Public Attributes inherited from grem::events::EventBase
TimePoint timestamp
 Timestamp of the event.

Detailed Description

Controller button Event base.

Member Function Documentation

◆ getInput()

Input grem::events::ControllerButtonEventBase::getInput ( ) const
nodiscardnoexcept

Get the general identifier of the physical controller button input.

Returns
the input identifier corresponding to the controller button.

Member Data Documentation

◆ controllerButton

ControllerButton grem::events::ControllerButtonEventBase::controllerButton

Physical controller button.


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