aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2017-11-12 11:03:25 -0500
committerBrian P. Hinz <bphinz@users.sf.net>2017-11-13 18:20:50 -0500
commitdaa7a5e7e27971e25f90a2ab85425418ec8a19a5 (patch)
tree83d7d90aaa6f64eac8a60fe60a4bdfb57a29d9d9 /java/com/tigervnc/rfb
parentce4722f3cdae6a3446b15dd52ade93ca6f49dca6 (diff)
downloadtigervnc-daa7a5e7e27971e25f90a2ab85425418ec8a19a5.tar.gz
tigervnc-daa7a5e7e27971e25f90a2ab85425418ec8a19a5.zip
Rename CMsgWriter functions to match C++ code
Diffstat (limited to 'java/com/tigervnc/rfb')
-rw-r--r--java/com/tigervnc/rfb/CMsgWriter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/com/tigervnc/rfb/CMsgWriter.java b/java/com/tigervnc/rfb/CMsgWriter.java
index ea2b7c91..164fa293 100644
--- a/java/com/tigervnc/rfb/CMsgWriter.java
+++ b/java/com/tigervnc/rfb/CMsgWriter.java
@@ -211,16 +211,16 @@ public class CMsgWriter {
endMsg();
}
- synchronized public void writeKeyEvent(int key, boolean down)
+ synchronized public void keyEvent(int keysym, boolean down)
{
startMsg(MsgTypes.msgTypeKeyEvent);
os.writeU8(down?1:0);
os.pad(2);
- os.writeU32(key);
+ os.writeU32(keysym);
endMsg();
}
- synchronized public void writePointerEvent(Point pos, int buttonMask)
+ synchronized public void pointerEvent(Point pos, int buttonMask)
{
Point p = new Point(pos.x,pos.y);
if (p.x < 0) p.x = 0;