Method

GVncConnectionpointer_event

Declaration [src]

gboolean
vnc_connection_pointer_event (
  VncConnection* conn,
  guint8 button_mask,
  guint16 x,
  guint16 y
)

Description [src]

Send a pointer event to the server, reflecting either movement of the pointer, or a change in state of its buttons, or both.

Note: Button 8 (bit 7) will only be sent if the server does NOT support the ExtendedMouseButtons Pseudo-encoding. In order to reliably support more than 7 buttons, use vnc_connection_pointer_event_ext() instead.

Parameters

button_mask

Type: guint8

The new state of the buttons (0-6).

x

Type: guint16

The new horizontal position of the pointer.

y

Type: guint16

The new veritical position of the pointer.

Return value

Type: gboolean

TRUE if the connection is ok, FALSE if it has an error.