Moonlight-embedded

I’d like to add moonlight-embedded to my Lakka setup, but I’m a little lost on how to go about doing that. If it requires some scripting, or creating a libretro layer for moonlight, I’m down for that. I’d already assumed it would involve either doing a custom Lakka build, or at least creating a custom RetroArch core, but I’m not sure of either.

To make it work within RetroArch, you would need to create a libretro core out of the C client. The remote gamepad core would probably be a good place to start, since it does something sort of similar.

Conversely, you could just add it to LibreElec and have it launch whenever the RetroArch process stops and vice versa.