Sends a key event to the VNC server to indicate a key has been pressed or released.
Namespace: RemoteViewing.VncAssembly: RemoteViewing (in RemoteViewing.dll) Version: 0.9.1.0 (0.9.1.0)
public void SendKeyEvent(
int keysym,
bool pressed
)
public void SendKeyEvent(
int keysym,
bool pressed
)
Public Sub SendKeyEvent ( _
keysym As Integer, _
pressed As Boolean _
)
Public Sub SendKeyEvent ( _
keysym As Integer, _
pressed As Boolean _
)
public:
void SendKeyEvent(
int keysym,
bool pressed
)
public:
void SendKeyEvent(
int keysym,
bool pressed
)
member SendKeyEvent :
keysym : int *
pressed : bool -> unit
member SendKeyEvent :
keysym : int *
pressed : bool -> unit
Parameters
- keysym
- Type: System Int32
The X11 keysym of the key. For many keys this is the ASCII value.
- pressed
- Type: System Boolean
true for a key press event, or false for a key release event.