MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / writeKeyEvent

Method writeKeyEvent

java/com/tigervnc/rfb/CMsgWriter.java:136–143  ·  view source on GitHub ↗
(int keysym, boolean down)

Source from the content-addressed store, hash-verified

134 }
135
136 synchronized public void writeKeyEvent(int keysym, boolean down)
137 {
138 startMsg(MsgTypes.msgTypeKeyEvent);
139 os.writeU8(down?1:0);
140 os.pad(2);
141 os.writeU32(keysym);
142 endMsg();
143 }
144
145 synchronized public void writePointerEvent(Point pos, int buttonMask)
146 {

Callers 2

handleKeyPressMethod · 0.45
handleKeyReleaseMethod · 0.45

Calls 5

startMsgMethod · 0.95
endMsgMethod · 0.95
writeU8Method · 0.45
padMethod · 0.45
writeU32Method · 0.45

Tested by

no test coverage detected