Molybden API
Loading...
Searching...
No Matches
molybden::KeyTyped Struct Reference

An event indicating that a keyboard character key has been typed. More...

#include <input_events.hpp>

Inheritance diagram for molybden::KeyTyped:
molybden::KeyEvent

Public Member Functions

 KeyTyped (KeyCode code, KeyModifiers modifiers, KeyLocation location, char key_char)
 

Public Attributes

char key_char
 The character corresponding to the pressed key or 0 when a keyboard modifier such as Shift, Ctrl, Alt, Command, Win etc.
 
- Public Attributes inherited from molybden::KeyEvent
KeyCode code
 The code of the key.
 
KeyModifiers modifiers
 The keyboard modifiers applied.
 
KeyLocation location
 The location of the key on the keyboard.
 

Additional Inherited Members

- Protected Member Functions inherited from molybden::KeyEvent
 KeyEvent (KeyCode code, KeyModifiers modifiers, KeyLocation location)
 

Detailed Description

An event indicating that a keyboard character key has been typed.

Member Data Documentation

◆ key_char

char molybden::KeyTyped::key_char

The character corresponding to the pressed key or 0 when a keyboard modifier such as Shift, Ctrl, Alt, Command, Win etc.

has been pressed on its own.


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