Kodi EventServer - How to send Key Presses
#1
Hi,

So I started developing an app for android to act as a remote app to control KODI, mainly using the JSON/RPC.
However, reading in the forums I found that the JSONRPC can only send entire bits of texts in the KODI virtual keyboard, and it overwrites the currently set text.

I'm trying to work with this by sending the keystrokes through the Event Server similar to how it's done within Yatse (great Kodi app, warmly suggested).
I found the XBMC EventServer Java classes found here https://github.com/xbmc/xbmc/tree/master...ventclient, which do seem to work good when sending Buttons to the EventServer.
Problem is that you can't send the keystrokes by having something like this:

eventServer.sendButton("KB", "f", true, false, false, (short)0, (byte)0);

Could anyone please advise how I can set the EventServer to send KeyStrokes, thus have it write text in the KODI virtual keyboard window directly?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi EventServer - How to send Key Presses0