Class

WPEPlatformGamepad

since: 2.0

Description

abstract class WPEPlatform.Gamepad : GObject.Object
{
  priv: WPEGamepadPrivate*
}
No description available.

Available since: 2.0

Hierarchy

hierarchy this WPEGamepad ancestor_0 GObject ancestor_0--this

Ancestors

Instance methods

wpe_gamepad_axis_event

Emit the signal WPEGamepad::axis-event.

since: 2.0

wpe_gamepad_button_event

Emit the signal WPEGamepad::button-event.

since: 2.0

wpe_gamepad_get_name

Get the gamepad name.

since: 2.0

wpe_gamepad_start_input_monitor

Start monitoring input on gamepad. Signals WPEGamepad::button-event and WPEGamepad::axis-event will not be emitted until this function is called.

since: 2.0

wpe_gamepad_stop_input_monitor

Stop monitoring input on gamepad. Signals WPEGamepad::button-event and WPEGamepad::axis-event will not be emitted after this function is called.

since: 2.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

WPEPlatform.Gamepad:name

The name of the gamepad.

since: 2.0

Signals

WPEPlatform.Gamepad::axis-event

Emitted when value of axis changes.

since: 2.0

WPEPlatform.Gamepad::button-event

Emitted when a button is pressed or released.

since: 2.0

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.

since: 2.0

Class structure

struct WPEPlatformGamepadClass {
  GObjectClass parent_class;
  void (* start_input_monitor) (
    WPEGamepad* gamepad
  );
  void (* stop_input_monitor) (
    WPEGamepad* gamepad
  );
  None padding;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.
start_input_monitor: void (* start_input_monitor) ( WPEGamepad* gamepad )
No description available.
stop_input_monitor: void (* stop_input_monitor) ( WPEGamepad* gamepad )
No description available.
padding: None
No description available.

Virtual methods

WPEPlatform.GamepadClass.start_input_monitor

Start monitoring input on gamepad. Signals WPEGamepad::button-event and WPEGamepad::axis-event will not be emitted until this function is called.

since: 2.0

WPEPlatform.GamepadClass.stop_input_monitor

Stop monitoring input on gamepad. Signals WPEGamepad::button-event and WPEGamepad::axis-event will not be emitted after this function is called.

since: 2.0