Controlling Kodi 18 alpha via gamepad

Hi,

I have a Xbox One S controller connected via USB. I am using Ubuntu 16.04 with Kernel 4.8.12

It works fine in emulators and in the terminal but in Kodi 18 it does not appear to be able to control the menu.

Is there something else I am supposed to enable? It does not appear as a notification when I connect it.

On a side issue – I can’t get it to work via bluetooth.

On another issue, the screen saver (screen goes blank and HDMI cuts out) often comes on when I am playing retroarch via kodi, because I am not pressing the keyboard presumably. Any idea how to fix that?