Kodi Community Forum
SendKey HTTP API - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: SendKey HTTP API (/showthread.php?tid=43324)



SendKey HTTP API Question - XiniX88 - 2009-01-07

I'm trying to understand the HTTP api for months now, but I still can't figure out how the "sendkey" function works. (I'm working on a new HTTP interface)

I want to send mouse events (clicks and double clicks) to XBMC using the HTTP API. This should be possible by sending EFFF first, followed by

"single click";"double click";"xpos";"ypos"

but when I send something like this: "http://localhost:8080/xbmcCmds/xbmcHttp?command=SendKey&parameter=EFFF;1;0;300;300" it doesn't click the mouse on that point...

Can someone help me out with this? Or is it possible in a different way?

http://wiki.xbmc.org/?title=WebServerHTTP-API <- documentation...