32 #include "Portability.h"    35 #ifndef DOXYGEN_SHOULD_SKIP_THIS    59     explicit Action(std::string name);
    99     bool isContinuous() 
const;
   109     void setInstantaneous();
   116     bool isInstantaneous() 
const;
   131     void addKeycodeKeyControl(
Keycode code);
   140     void addScancodeKeyControl(
Scancode code);
   177     void addCloseControl();
   185     void addControl(
Control& control);
   199     void processEvent(
const Event& event);
   230     std::vector<std::unique_ptr<Control>> m_ownedControls;
   231     std::vector<Control *> m_controls;
   246     void addAction(
Action& action);
   254     bool hasAction(
const std::string& name) 
const;
   263     Action& getAction(
const std::string& name);
   272     const Action& getAction(
const std::string& name) 
const;
   281     void processEvent(
const Event& event);
   291     std::vector<Action*> m_actions;
   294 #ifndef DOXYGEN_SHOULD_SKIP_THIS   299 #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:239
 
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:76
 
GamepadAxis
The gamepad axis. 
Definition: Gamepad.h:71
 
The namespace for gf classes. 
Definition: Action.h:34
 
GamepadId
A gamepad identifier. 
Definition: Gamepad.h:121
 
An action that can be triggered by different controls. 
Definition: Action.h:52
 
MouseButton
Mouse buttons. 
Definition: Mouse.h:36
 
Defines a system event and its parameters. 
Definition: Event.h:118
 
Keycode
Keycodes. 
Definition: Keyboard.h:288