From 3c5dd884d2e658bb23fd324570b48b86db153d14 Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Thu, 12 Oct 2017 15:26:21 +0200 Subject: [PATCH] Update API since sendKey() has a new parameter Commit 94f5cf05f37191ec028781bd486fbf22a460e515 added a new parameter to the public function in the RFB object. --- docs/API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/API.md b/docs/API.md index b1f2edd7..eacef7b8 100644 --- a/docs/API.md +++ b/docs/API.md @@ -201,7 +201,7 @@ callback event name, and the callback function. | xvpShutdown | () | Send XVP shutdown. | xvpReboot | () | Send XVP reboot. | xvpReset | () | Send XVP reset. -| sendKey | (keysym, down) | Send a key press event. If down not specified, send a down and up event. +| sendKey | (keysym, code, down) | Send a key press event. If down not specified, send a down and up event. | clipboardPasteFrom | (text) | Send a clipboard paste event | requestDesktopSize | (width, height) | Send a request to change the remote desktop size.