Class
WPEPlatformGamepadManager
Description [src]
abstract class WPEPlatform.GamepadManager : GObject.Object
{
WPEGamepadManagerPrivate* priv
}
Tracks the available gamepads.
WPEGamepadManager is an abstract class that platform implementations derive
to track the set of connected WPEGamepad devices. Create the manager for a
display with wpe_display_create_gamepad_manager().
It notifies device hotplugging with the
WPEGamepadManager::device-added and
WPEGamepadManager::device-removed signals.
Instance methods
wpe_gamepad_manager_add_device
Add gamepad to manager and emit the signal WPEGamepadManager::device-added if
it wasn’t already present.
wpe_gamepad_manager_remove_device
Remove gamepad from manager and emit the signal WPEGamepadManager::device-removed if
it was present.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.