Cogs.Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cogs::Keyboard::State Struct Reference

#include <Keyboard.h>

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.
 

Member Data Documentation

◆ chars

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

List of characters generated by the keyboard this frame.

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

◆ keysDown

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

State of tracked keys.

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


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