InputAction
kn::InputAction Declared in kraken/input/Input.hpp
At a glance
4 membersReference
C++ APIInputData
typedefstd::variant< Scancode, Keycode, MouseButton, GamepadButton, std::pair< GamepadAxis, bool > > InputDataNo description in the source header.
InputAction(Scancode scan)InputAction(Keycode key)InputAction(MouseButton mButton)InputAction(GamepadButton cButton, int slot=0)InputAction(GamepadAxis axis, bool isPositive, int slot=0)No description in the source header.
getPadSlot
functionint getPadSlot() constNo description in the source header.
getData
functionInputData getData() constNo description in the source header.