ark::input::GamepadPlugin

Defined in header “ark/input/gui/gamepad_plugin.hh”.


Support for a interfacing with a gamepad. The gamepad events are polled on a background thread and published to the system.

Methods

  • GamepadPlugin(std::string name, std::string comms_namespace)
    Constructor. Initializes the plugin defaults.

  • ~GamepadPlugin()
    Virtual destructor, for cleanup.

  • void initialize(gui::PluginInterface & interface)
    Called during initialization. This gives you a chance to register you widget elements and communication methods.

  • void save_settings(QSettings & settings)
    Invoked from the parent GUI application to give this plugin a chance to save its settings.

  • void restore_settings(QSettings & settings)
    Called from the parent GUI application to give this plugin a chance to restore its settings.