CPP-TOOLBOX
Loading...
Searching...
No Matches
input_state.cpp File Reference
#include "input_state.hpp"
#include <GLFW/glfw3.h>
#include <cassert>
#include <iostream>
#include <string>
#include <sstream>

Variables

std::vector< std::vector< std::string > > keyboard
 
std::unordered_map< std::string, EKeykeyboard_key_str_to_key_enum
 

Variable Documentation

◆ keyboard

std::vector<std::vector<std::string> > keyboard
Initial value:
= {
{"`", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", " bs"},
{"tb", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", " \\ "},
{"cps", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", " ent"},
{"shft", "z", "x", "c", "v", "b", "n", "m", ",", ".", "/", " shft"},
{"ct", "sp", "al", " ", "al", "fn", "mn", "rc"}}

◆ keyboard_key_str_to_key_enum

std::unordered_map<std::string, EKey> keyboard_key_str_to_key_enum