CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::InputEvent Struct Reference

A base structure that forms the base of all input events. More...

#include <CeresEngine/Input/InputEvent.hpp>

Inheritance diagram for CeresEngine::InputEvent:
CeresEngine::KeyEvent CeresEngine::MouseEvent CeresEngine::TextEvent

Public Attributes

double timestamp = 0.0
 The time when the event occurred in seconds since system startup.
 
PlatformWindowwindow = nullptr
 The platform window that triggered the input event, if any.
 

Detailed Description

A base structure that forms the base of all input events.

Member Data Documentation

◆ timestamp

double CeresEngine::InputEvent::timestamp = 0.0

The time when the event occurred in seconds since system startup.

◆ window

PlatformWindow* CeresEngine::InputEvent::window = nullptr

The platform window that triggered the input event, if any.

Some synthetic events can have a ´nullptr´ window.


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