API Documentation
GamepadJoystickStatus.h
1 // GamepadJoystickStatus.h
3 //
5 
6 namespace nkInputs
7 {
11  struct GamepadJoystickStatus final
12  {
13  float _x = 0.f ;
14  float _y = 0.f ;
15  } ;
16 }
nkInputs
Encompasses all API of component NilkinsInputs.
Definition: GamepadDeviceButton.h:7
nkInputs::GamepadJoystickStatus
Holds a gamepad's joystick's status, for now its current position.
Definition: GamepadJoystickStatus.h:12
nkInputs::GamepadJoystickStatus::_x
float _x
The x coordinate status within -1 (full left) and 1 (full right).
Definition: GamepadJoystickStatus.h:13
nkInputs::GamepadJoystickStatus::_y
float _y
The y coordinate status within -1 (full bottom) and 1 (full top).
Definition: GamepadJoystickStatus.h:14