Nebula
Loading...
Searching...
No Matches
glfwgamepad.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
11//------------------------------------------------------------------------------
13#include "util/string.h"
14
15namespace GLFW
16{
39
40} // namespace GLFW
41//------------------------------------------------------------------------------
An input handler which represents one of at most 4 game pads.
Definition gamepadbase.h:24
Util::String warnedGuid
the joystick this handler has already reported as unmapped, so the same one is not printed every fram...
Definition glfwgamepad.h:37
__DeclareClass(GLFWGamePad)
Util::Array< Input::InputEvent > frameEvents
the edges recorded by the poll, kept so the events can be handed to the handler chain
Definition glfwgamepad.h:34
virtual Util::Array< Input::InputEvent > GetStateAsInputEvents() const
the button edges the last poll produced
Definition glfwgamepad.cc:162
GLFWGamePad()
constructor
Definition glfwgamepad.cc:57
virtual void Poll()
read the pad and put this frame's state on it
Definition glfwgamepad.cc:81
Nebula's dynamic array class.
Definition array.h:61
Nebula's universal string class.
Definition string.h:50
Definition glfwgamepad.cc:11