Montellese/xbmc — pull request #2 by Montellese (2012-02-09 20:05:46+00:00)
Title: Allow ASCII character input through JSON-RPC and EventServer

I'm creating this PR to get some help on how the virtual keyboard input stuff is handled (mainly) for the EventServer. Currently it is not possible to use the EventServer to send ASCII characters to XBMC so that they get added to a text field when e.g. using the library filter. The HTTP-API has special handling for this case with the CKey::GetFromHttpApi() method which I renamed to GetFromService().

My primary question is whether this behaviour of the eventserver is by design and has some reason I don't know or if this is a bug and should actually be supported. If it is a bug this PR should fix it by also using the Set/GetFromService() methods for virtual key presses from the EventServer and from JSON-RPC (for use in the future).