RFB.sendKey(code, down) If down is not specified then both a down followed by an up code will be sent.