vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::InputActions Namespace Reference

Action names the engine itself reads. More...

Variables

constexpr const char * UI_CLICK = "UI/Click"
 Press, hold and release of the game UI's primary pointer button.

Detailed Description

Action names the engine itself reads.

Strings, not an enum, so binding files can name actions the engine never heard of.

Variable Documentation

◆ UI_CLICK

const char* Vkm::Engine::InputActions::UI_CLICK = "UI/Click"
inlineconstexpr

Press, hold and release of the game UI's primary pointer button.

An action, not a raw button, so it is rebindable. InputMap binds it to the left mouse button at construction and after reset().