Learn how to evaluate and integrate the VNC SDK
Server.InputEventsCallback¶
-
vncsdk.Server.
InputEventsCallback
¶ Callback for handling input events.
Method Summary¶
Modifier and Type | Method and Description |
---|---|
bool |
Handle keypress events manually. |
bool |
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: - server (
vncsdk.Server
) – - key (int) –
- down (bool) –
Return type: bool
- server (
-
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
- server (