30 #include "GraphicsApi.h"    36 #ifndef DOXYGEN_SHOULD_SKIP_THIS    60     explicit Action(std::string name);
   100     bool isContinuous() 
const;
   110     void setInstantaneous();
   117     bool isInstantaneous() 
const;
   132     void addKeycodeKeyControl(
Keycode code);
   141     void addScancodeKeyControl(
Scancode code);
   178     void addCloseControl();
   186     void addControl(
Control& control);
   200     void processEvent(
const Event& event);
   211     bool isActive() 
const;
   231     std::vector<std::unique_ptr<Control>> m_ownedControls;
   232     std::vector<Ref<Control>> m_controls;
   247     void addAction(
Action& action);
   255     bool hasAction(
const std::string& name) 
const;
   264     Action& getAction(
const std::string& name);
   273     const Action& getAction(
const std::string& name) 
const;
   282     void processEvent(
const Event& event);
   292     std::vector<Ref<Action>> m_actions;
   295 #ifndef DOXYGEN_SHOULD_SKIP_THIS   300 #endif // GF_ACTION_H GamepadButton
The gamepad buttons. 
Definition: Gamepad.h:43
A set of actions. 
Definition: Action.h:240
GamepadAxis
The gamepad axis. 
Definition: Gamepad.h:71
GamepadId
A gamepad identifier. 
Definition: Gamepad.h:121
GamepadAxisDirection
A gamepad axis direction. 
Definition: Gamepad.h:89
MouseButton
Mouse buttons. 
Definition: Mouse.h:36
A physical control. 
Definition: Control.h:38
const std::string & getName() const
Get the name of the action. 
Definition: Action.h:77
Scancode
Scancodes. 
Definition: Keyboard.h:51
The namespace for gf classes. 
Definition: Action.h:35
An action that can be triggered by different controls. 
Definition: Action.h:53
Keycode
Keycodes. 
Definition: Keyboard.h:280
Defines a system event and its parameters. 
Definition: Event.h:224