Class · aurore

aurore::HeadlessInputManager

aurore/test/headless_platform.hpp
#include <aurore/test/headless_platform.hpp>

class aurore::HeadlessInputManager : public aurore::InputManager

Functions 13

virtual short getControllersConnectedCount() override
virtual void updateUnifiedControllerState(ControllerState *state) override
virtual void updateControllerState(ControllerState *state,int controller) override

Called once every frame to fill the given ControllerState struct with the controller state.

Overrides aurore::InputManager::updateControllerState

headless_platform.hpp:75
virtual bool getKeyboardKeyState(AuroreKeyboardScancode key) override
virtual void updateTouchStates(std::vector< RawTouchState > *states) override

Called once every frame to fill the given RawTouchState struct with the raw touch data.

Overrides aurore::InputManager::updateTouchStates

headless_platform.hpp:77
virtual void updateMouseStates(RawMouseState *state) override

Called once every frame to fill the given RawTouchState struct with the raw touch data.

Overrides aurore::InputManager::updateMouseStates

headless_platform.hpp:78
virtual void sendRumble(unsigned short controller,unsigned short lowFreqMotor,unsigned short highFreqMotor) override

Calls to update gamepad's rumble state.

Overrides aurore::InputManager::sendRumble

headless_platform.hpp:79
void setButton(ControllerButton button, bool pressed)
void setAxis(ControllerAxis axis, float value)
void setKey(AuroreKeyboardScancode key, bool pressed)
void setTouch(int fingerId, bool pressed, Point position)
void setMouse(Point position, bool leftButton)
void scroll(Point offset)

Also the functions of aurore::InputManager (15).

Read from Aurore's headers by Doxygen at each build · library/include