Fun game, excited to see it develop! Need to hide (lock) the mouse cursor. The mouse keeps running away from the screen (I have multiple monitors) and it clicks out.
Oh, the cursor must be locked. But I did an additional check on unpause. Also, I added a right stick support and some other missing buttons. Haha, very unusual on the gamepad :D