oXBMCClient.sendButton("KB", "escape", false, true, false, (short)0 , (byte)0);
Thread.sleep(7000);
oXBMCClient.sendButton("KB", "escape", true, true, false, (short)0 , (byte)0);
oXBMCClient.sendNotification("My Title", "Escape sent");
Thread.sleep(1000);
oXBMCClient.sendButton("KB", "escape", true, false, false, (short)0 , (byte)0);
oXBMCClient.sendNotification("My Title", "Escape released");