key_event
Description:
Send a key press/release event to the server.
By default the event will be sent with the X11 key code from key. If the extended key event protocol extension is active, the
scancode will be sent instead.
Parameters:
| this |
the connection object |
| down_flag |
TRUE if this is a key press, FALSE for a key release |
| key |
the X11 key code |
| scancode |
the XT scan code |
Returns:
|
TRUE if the connection is ok, FALSE if it has an error |