Kodi Community Forum

Full Version: Keystrokes JSON
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to send keystrokes with JSON. I don't see anything on the wiki. Or do I just have to use the HTTP API for now? I would like to stay away from the HTTP API since it's depreciated. I'm looking to send keystrokes or commands for the following items in JSON.

DVD menu
Visualization presets
Visualization settings
Change Aspect Ratio
Video settings
Audio settings
PlayDVD
Lyrics

I'm using v11.
I don't think there is a SendKeys function in v11.0. I remember a pull request to add this function. Hang on ... aha, see https://github.com/xbmc/xbmc/blob/master...n.cpp#L165
What's a pull request? That functionally was requested to get pulled? I'm not sure what I'm looking at on that link. So I'm guessing I'll have to use the HTTP API or the event server and remap the keys for it? Thanks.
A pull request means someone has coded a patch and is requesting it be pulled into the main xbmc codebase. If you want this to happen, post on the pull request voicing why it would be a good thing....