Posts: 29
Joined: Jul 2015
Reputation:
0
Is there a way to issue keyboard keys via the network?
I'd like to be able to emulate the pressing of a console keyboard key via ethernet. JSON doesn't support this, at least as far as I've been able to discover.
Posts: 29
Joined: Jul 2015
Reputation:
0
I guess I shouldn't be so sparing in what I need. I control Kodi via a URC Wifi remote (MX-5000). I've been using JSON and hit an limitation. JSON doesn't support PVR previous channel though you can do it from a connected keyboard (key 0).
I can do this from the command line, but I don't see a way to run a script via json. I took a look at eventserver but couldn't find a spec for the communication protocol.
Posts: 29
Joined: Jul 2015
Reputation:
0
2017-08-28, 01:39
(This post was last modified: 2017-08-28, 01:39 by dullard.)
Got it to work. I wrote an addon. The addon runs a script that calls xdotool. I then activate the addon with JSON. By passing the key I want I now have access to most of the keyboard keys.