Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Server.InputEventsCallback

vncsdk.Server.InputEventsCallback

Callback for handling input events.

Method Summary

Modifier and Type Method and Description
bool

key_event_callback(server, key, down)

Handle keypress events manually.

bool

pointer_event_callback(server, x, y, button_mask, is_relative)

Handle pointer events manually.

Methods

Server.InputEventsCallback.key_event_callback(server, key, down)

Handle keypress events manually.

For more information, see vnc_Server_InputEventsCallback::keyEventCallback.

Parameters:
Return type:

bool

Server.InputEventsCallback.pointer_event_callback(server, x, y, button_mask, is_relative)

Handle pointer events manually.

For more information, see vnc_Server_InputEventsCallback::pointerEventCallback.

Parameters:
  • server (vncsdk.Server) –
  • x (int) –
  • y (int) –
  • button_mask (int) –
  • is_relative (bool) –
Return type:

bool

×