void SendKeyUpdate(int keysym, bool pressed) { if (_client != null && AllowInput) { _client.SendKeyEvent(keysym, pressed); } }