Screen turns off when phone vibrates
Good evening, recently I was using my HTC one x and the screen suddenly turned off when I was typing, I turned it back on (no problem) but when I wanted to type my pass code to unlock the phone the screen turned off again. I noticed it did this every time the phone vibrated, and since the phone vibrates every time a key is pressed, the screen automatically turns off!!! I have tried restarting it but it has the same problem. I cannot access my phone at all since the pass code requires typing which vibrates the phone which in turn turns the screen off!!!!!
any help would be greatly appreciated.