2D gamepad axis action.
More...
#include <le2d/input/action.hpp>
◆ GamepadAxis2D() [1/2]
| le::input::action::GamepadAxis2D::GamepadAxis2D |
( |
| ) |
|
|
default |
◆ GamepadAxis2D() [2/2]
| le::input::action::GamepadAxis2D::GamepadAxis2D |
( |
int const |
x, |
|
|
int const |
y, |
|
|
float const |
dead_zone = dead_zone_v |
|
) |
| |
|
inlineexplicit |
- Parameters
-
| x | Matching x axis. |
| y | Matching y axis. |
| dead_zone | Dead zone: values with magnitude below this are floored to 0. |
| int le::input::action::GamepadAxis2D::x {} |
| int le::input::action::GamepadAxis2D::y {} |
The documentation for this class was generated from the following file: