XrdInputSynth

XrdInputSynth

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── XrdInputSynth

Includes

#include <xrd.h>

Description

Functions

xrd_input_synth_new ()

XrdInputSynth *
xrd_input_synth_new (G3kContext *g3k);

xrd_input_synth_reset_scroll ()

void
xrd_input_synth_reset_scroll (XrdInputSynth *self);

Resets the internal state of the scrolling, so the in-flight scroll distance on the touchpad is discarded.

When calling this function, also consider xrd_input_synth_reset_press_state()

Parameters

self

The XrdInputSynth

 

xrd_input_synth_reset_press_state ()

void
xrd_input_synth_reset_press_state (XrdInputSynth *self);

Issue a button release event for every button that previously was used for a button press event, but has not been released yet.

When calling this function, also consider xrd_input_synth_reset_scroll().

Parameters

self

The XrdInputSynth

 

xrd_input_synth_move_cursor ()

void
xrd_input_synth_move_cursor (XrdInputSynth *self,
                             XrdWindow *window,
                             graphene_matrix_t *controller_pose,
                             graphene_point3d_t *intersection);

xrd_input_synth_create_action_set ()

GxrActionSet *
xrd_input_synth_create_action_set (XrdInputSynth *self,
                                   GxrManifest *manifest);

Parameters

self

the XrdInputSynth

 

Returns

an GxrActionSet that will be centrally owned by, updated in and destroyed in XrdShell.

[transfer full]

Types and Values

XRD_TYPE_INPUT_SYNTH

#define XRD_TYPE_INPUT_SYNTH xrd_input_synth_get_type ()

XrdInputSynth

typedef struct _XrdInputSynth XrdInputSynth;

Signal Details

The “click-event” signal

void
user_function (XrdInputSynth *xrdinputsynth,
               GdkEvent      *arg1,
               gpointer       user_data)

Flags: Run Last


The “move-cursor-event” signal

void
user_function (XrdInputSynth *xrdinputsynth,
               GdkEvent      *arg1,
               gpointer       user_data)

Flags: Run Last