JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Key.hpp File Reference

Contains jngl::Key class. More...

#include "input.hpp"
#include <optional>
#include <string>
#include <string_view>
#include <variant>
#include <vector>
Include dependency graph for Key.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Key
 A key on the keyboard: one without a character, e.g. More...
 

Namespaces

namespace  jngl
 JNGL's main namespace.
 

Functions

std::vector< Key > keysPressed ()
 The keys that have been pressed since the next to last call to updateInput(), in the order they went down, e.g.
 

Detailed Description

Contains jngl::Key class.

Definition in file Key.hpp.