input
kn::input Declared in kraken/input/Input.hpp
At a glance
7 membersReference
C++ APIbind
functionvoid bind(const std::string &name, const std::vector< InputAction > &actions)No description in the source header.
unbind
functionvoid unbind(const std::string &name)No description in the source header.
getDirection
functionVec2 getDirection(const std::string &up="", const std::string &right="", const std::string &down="", const std::string &left="")No description in the source header.
getAxis
functiondouble getAxis(const std::string &negative="", const std::string &positive="")No description in the source header.
isPressed
functionbool isPressed(const std::string &name)No description in the source header.
isJustPressed
functionbool isJustPressed(const std::string &name)No description in the source header.
isJustReleased
functionbool isJustReleased(const std::string &name)No description in the source header.