Game Keeps Pressing Enter and Esc by Itself – Any Ideas?

Every time I run the game to test it, it starts pressing enter and/or Esc continuously by itself. It’s really weird.





I even tried creating a new project, but that didn’t help. I verified the game through Steam, still nothing. Then, I reinstalled RPG Maker MV, but no luck there either.





I disabled Bluetooth, unplugged all USB devices, and closed any background apps, but it still didn’t work.





I also made sure the keyboard works properly by testing it with typing and using online checkers.





I tried using Input._currentState, and this is what I got:





{ok: true, cancel: true, shift: false, menu: false, pageup: true, …}


cancel : true


down : false


left : false


menu : true


ok : true


pagedown : true


pageup : false


right : false


shift : true


up : false


proto : constructor : ƒ Object() hasOwnProperty : ƒ hasOwnProperty() isPrototypeOf : ƒ isPrototypeOf() propertyIsEnumerable : ƒ propertyIsEnumerable() toLocaleString : ƒ toLocaleString() toString : ƒ toString() valueOf : ƒ valueOf() defineGetter : ƒ defineGetter() defineSetter : ƒ defineSetter() lookupGetter : ƒ lookupGetter() lookupSetter : ƒ lookupSetter() get proto : ƒ proto() set proto : ƒ proto()





Does this mean that Enter and Esc are being pressed at the same time?

I used RPG maker for 40h with only minor issues

I never had this problem before
I thought I messed up some events but every workspace is like this
Any idea?


Thanks for your help! Let me know if you need more info

(MacBook air m2, macos 15.0)


Reddit post I made about this(with no luck)

(Let’s hope is only a silly mistake of mine )
(MacBook air m2, macos 15.0)
Well, I wish you luck my friend, but...
goodluck.jpg
Does this mean that Enter and Esc are being pressed at the same time?
All I can tell you is yes, they are, at least as far as the game sees it. All those values should either be false or undefined when no keys are being pressed.

I wish I could offer any help beyond that, but I have no clue why would that happen.
if it enters while your keyboard is unplugged is strange, but if it's a laptop,
or usb keyboard, unplug the keyboard and remove the "enter key" or "esc"
to see if something is blocking it/pressing it, and clean it.

another way that it could be causing is by a malware/trojan virus, so run a
virusscanner and malwarefighter to clean your system and try again.

as it shouldn't be happening.
Well, I wish you luck my friend, but...
View attachment 323848
The thing is that it started happening only during a video call to define the game

Completely out of nowhere



It used to crash sometimes before but the game worked fine till that moment

Would update JavaScript improve the situation?

Original thread: https://forums.rpgmakerweb.com/threads/game-keeps-pressing-enter-and-esc-by-itself-any-ideas.173468/