Reading bluetooth controller input?

So the GameLab is able to read keyboard inputs. But I recently got a bluetooth XBox One controller, and I cant find any way to adapt the code to support it. Is there a way to read the input?

Edit:
Do I have to move the project to a website so that I have more control over the browser?
Edit 2:
I downloaded the project tile and opened the HTML, It showed a blank screen with the mobile controls and text that read ‘loading’