SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::Events::Input::KeyTypedEvent Class Reference

#include <KeyboardEvent.hpp>

Inheritance diagram for Sleak::Events::Input::KeyTypedEvent:

Public Member Functions

 KeyTypedEvent (const KeyCode keycode)
virtual EventType GetEventType () const override
virtual const char * GetName () const override
std::string ToString () const override
Public Member Functions inherited from Sleak::Events::Input::KeyEvent
virtual int GetCategoryFlags () const override
KeyCode GetKeyCode () const
std::string GetKeyStr () const
Public Member Functions inherited from Sleak::Event
 Event ()
virtual ~Event ()=default
bool IsInCategory (EventCategory category)

Static Public Member Functions

static EventType GetStaticType ()

Additional Inherited Members

Public Attributes inherited from Sleak::Event
bool Handled = false
Protected Member Functions inherited from Sleak::Events::Input::KeyEvent
 KeyEvent (const KeyCode keycode)
Protected Attributes inherited from Sleak::Events::Input::KeyEvent
KeyCode m_KeyCode

Detailed Description

Fired for text input, after IME/layout composition rather than raw key-down.

Definition at line 73 of file KeyboardEvent.hpp.

Constructor & Destructor Documentation

◆ KeyTypedEvent()

Sleak::Events::Input::KeyTypedEvent::KeyTypedEvent ( const KeyCode keycode)
inline

Definition at line 76 of file KeyboardEvent.hpp.

Member Function Documentation

◆ GetEventType()

virtual EventType Sleak::Events::Input::KeyTypedEvent::GetEventType ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 86 of file KeyboardEvent.hpp.

◆ GetName()

virtual const char * Sleak::Events::Input::KeyTypedEvent::GetName ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 86 of file KeyboardEvent.hpp.

◆ GetStaticType()

EventType Sleak::Events::Input::KeyTypedEvent::GetStaticType ( )
inlinestatic

Definition at line 86 of file KeyboardEvent.hpp.

◆ ToString()

std::string Sleak::Events::Input::KeyTypedEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from Sleak::Event.

Definition at line 79 of file KeyboardEvent.hpp.