gamepad
kn::gamepad Declared in kraken/input/Gamepad.hpp
At a glance
11 membersReference
C++ APIisPressed
functionbool isPressed(GamepadButton button, int slot=0)No description in the source header.
isJustPressed
functionbool isJustPressed(GamepadButton button, int slot=0)No description in the source header.
isJustReleased
functionbool isJustReleased(GamepadButton button, int slot=0)No description in the source header.
getLeftStick
functionVec2 getLeftStick(int slot=0)No description in the source header.
getRightStick
functionVec2 getRightStick(int slot=0)No description in the source header.
getLeftTrigger
functiondouble getLeftTrigger(int slot=0)No description in the source header.
getRightTrigger
functiondouble getRightTrigger(int slot=0)No description in the source header.
setDeadZone
functionvoid setDeadZone(float deadZone, int slot=0)No description in the source header.
getDeadZone
functionfloat getDeadZone(int slot=0)No description in the source header.
getConnectedSlots
functionconst std::vector< int > getConnectedSlots()No description in the source header.
getType
functionGamepadType getType(int slot=0)No description in the source header.