Logitech K780 pairing

I managed to get the Logitech k780 bluetooth keyboard working on Raspbian, but I cannot get it working for OSMC.

Initially, I couldn’t even get it working on Raspbian, until I used the Unifying Receiver bluetooth dongle, instead of the built-in bluetooth.

On OSMC, I can pair, but no keystrokes seem to be sent to OSMC.