Using Surface Pro gryroscope/acelerometer

Hello people,

I’m working on an windows App using gyroscope to rotate the camera, but when i package the project, it didn’t work. (on a android version it’s works perfectly)

I’m using this:

Is there any way to use gyroscope on a surface pro?

Thanks!