Class · aurore
aurore::InputManager
On this page
#include <aurore/core/input.hpp>
class aurore::InputManagerDerived by
Constructors 1
Functions 15
virtual void updateControllerState( ControllerState *state,int controller) =0Called once every frame to fill the given ControllerState struct with the controller state.
input.hpp:344virtual void updateTouchStates(std::vector< RawTouchState > *states) =0 Called once every frame to fill the given RawTouchState struct with the raw touch data.
input.hpp:351virtual void updateMouseStates(RawMouseState *state) =0 Called once every frame to fill the given RawTouchState struct with the raw touch data.
input.hpp:356virtual void sendRumble( unsigned short controller,unsigned short lowFreqMotor,unsigned short highFreqMotor) =0Calls to update gamepad's rumble state.
input.hpp:361Called once every runloop cycle to perform some cleanup before new one. For internal call only
input.hpp:367Static functions 3
static TouchState computeTouchState( RawTouchState currentTouch,TouchState lastFrameState)Calculate current touch phase based on it's previous state
input.hpp:401static MouseState computeMouseState( RawMouseState currentTouch,MouseState lastFrameState)Calculate current touch phase based on it's previous state
input.hpp:406Read from Aurore's headers by Doxygen at each build · library/include