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

One physical control contributing to an action. More...

#include <input_map.h>

Public Attributes

int code = 0
 GLFW key or mouse-button code.
float scale = 1.0f
 Contribution to axis(); sign gives direction.

Detailed Description

One physical control contributing to an action.

scale makes an action an axis: W at +1 and S at -1 make "Move/Forward" read -1..1.


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