32 #include "Portability.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 GamepadAxisDirection
A gamepad axis direction. 
Definition: Gamepad.h:89
 
GamepadButton
The gamepad buttons. 
Definition: Gamepad.h:43
 
A set of actions. 
Definition: Action.h:240
 
Scancode
Scancodes. 
Definition: Keyboard.h:59
 
A physical control. 
Definition: Control.h:38
 
const std::string & getName() const
Get the name of the action. 
Definition: Action.h:77
 
GamepadAxis
The gamepad axis. 
Definition: Gamepad.h:71
 
The namespace for gf classes. 
Definition: Action.h:35
 
GamepadId
A gamepad identifier. 
Definition: Gamepad.h:121
 
An action that can be triggered by different controls. 
Definition: Action.h:53
 
MouseButton
Mouse buttons. 
Definition: Mouse.h:36
 
Defines a system event and its parameters. 
Definition: Event.h:97
 
Keycode
Keycodes. 
Definition: Keyboard.h:288