Struct

GdkEventPadAxis

since: 3.22

Description [src]

struct GdkEventPadAxis {
  GdkEventType type;
  GdkWindow* window;
  gint8 send_event;
  guint32 time;
  guint group;
  guint index;
  guint mode;
  gdouble value;
}

Generated during GDK_SOURCE_TABLET_PAD interaction with tactile sensors.

Structure members
type

The type of the event (GDK_PAD_RING or GDK_PAD_STRIP).

window

The window which received the event.

send_event

TRUE if the event was sent explicitly.

time

The time of the event in milliseconds.

group

The pad group the ring/strip belongs to. A GDK_SOURCE_TABLET_PAD device may have one or more groups containing a set of buttons/rings/strips each.

index

Number of strip/ring that was interacted. This number is 0-indexed.

mode

The current mode of group. Different groups in a GDK_SOURCE_TABLET_PAD device may have different current modes.

value

The current value for the given axis.

Available since: 3.22