MODULE v1.8.0

input

kn::input

Declared in kraken/input/Input.hpp

Reference

C++ API

bind

function
void bind(const std::string &name, const std::vector< InputAction > &actions)

No description in the source header.

unbind

function
void unbind(const std::string &name)

No description in the source header.

getDirection

function
Vec2 getDirection(const std::string &up="", const std::string &right="", const std::string &down="", const std::string &left="")

No description in the source header.

getAxis

function
double getAxis(const std::string &negative="", const std::string &positive="")

No description in the source header.

isPressed

function
bool isPressed(const std::string &name)

No description in the source header.

bool isJustPressed(const std::string &name)

No description in the source header.

bool isJustReleased(const std::string &name)

No description in the source header.

Find your next step

Start typing to search the manual.