![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
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. | |
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.