STRUCT v1.8.0

GamepadState

kn::GamepadState

Declared in kraken/input/Gamepad.hpp

This entry has no direct match in the other language. Switching opens that language's reference.

Reference

C++ API

pad

variable
SDL_Gamepad * pad = nullptr

No description in the source header.

deadZone

variable
float deadZone = 0.1f

No description in the source header.

justPressed

variable
std::unordered_map< GamepadButton, bool > justPressed

No description in the source header.

justReleased

variable
std::unordered_map< GamepadButton, bool > justReleased

No description in the source header.

Find your next step

Start typing to search the manual.