Auto camera spinning problem

I have a problem while playing “Gun”. The camera keep spinning automatically without touching mouse. In game menu mouse is working normally and in any other game also it works normally but in this game I am having issue.

So I fixed the problem. In wine control pannel and controller setting. I disabled accelerometer js.