Cogs.Core
Public Attributes | List of all members
Cogs::Keyboard::State Struct Reference

Public Attributes

bool keysDown [static_cast< size_t >(Key::Count)] = {}
 State of tracked keys.
 
std::string chars
 List of characters generated by the keyboard this frame.
 

Detailed Description

Definition at line 49 of file Keyboard.h.

Member Data Documentation

◆ chars

std::string Cogs::Keyboard::State::chars

List of characters generated by the keyboard this frame.

Definition at line 52 of file Keyboard.h.

Referenced by Cogs::Keyboard::update().

◆ keysDown

bool Cogs::Keyboard::State::keysDown[static_cast< size_t >(Key::Count)] = {}

State of tracked keys.

Definition at line 51 of file Keyboard.h.

Referenced by Cogs::Keyboard::update().


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