How can I fix this bug?

Hello, I've never used these forums before but I was just hoping I could get some help here. I've been working with RPG Maker XP for some years now, on and off. I recently decided to start working on a game again after several months only to discover that there's some sort of wierd bug happening whenever I playtest my game.

 

Basically, the main character constantly moves towards the right of the screen, as if I'm holding the right movement key down even though I'm not. If I hold the left movement key down, the main character stops moving but does not move left. I can move up and down but as soon as I release those movement keys, the character continues auto-moving toward the right. Obviously, this is making testing impossible now and I would like to find out how to fix this. 

 

I very vaguely remember this sort of thing happening years ago but I don't remember how I fixed it. I've tried restarting RPG Maker and that hasn't helped. This movement bug happens on any map I start the playtest on. It doesn't seem to interfere with autorun events which play out normally and stop the character from moving until the event is completed. I've checked my common events just to see if one of them could be causing this somehow, but I don't think that's the case. 

 

I've also noticed that the right movement key doesn't seem to be working on the in-battle menus or the inventory/status menus. 

 

Some help would really be appreciated. I really don't want to go through the trouble of reinstalling the whole program. 
Start by restarting your computer.  This can resolve quirky issues like this.

Also make sure you have done all windows updates.
Do you have a controller plugged in?  If so then it might be sitting in a bad position or isn't calibrated correctly.  Try unplugging it and see if the issue persists.
I've moved this thread to Tech Support. Please be sure to post your threads in the correct forum next time. Thank you.


Game controllers are the most common cause of this issue.
Do you have a controller plugged in?  If so then it might be sitting in a bad position or isn't calibrated correctly.  Try unplugging it and see if the issue persists.
I actually did have a controller plugged in which I had forgotten about. However, I have unplugged it now and that hasn't helped at all, unfortunately.  Thanks for the suggestion though... I would've felt like a complete idiot if I went to the trouble of reinstalling the program and all that just to find out later it was my controller the whole time. lol

I've moved this thread to Tech Support. Please be sure to post your threads in the correct forum next time. Thank you.

Game controllers are the most common cause of this issue.

 
Sorry about that, I did look for a tech support forum first but I guess I missed this one somehow. 
You may need to restart after removing your controller.
sometimes it needs more than a restart after the game controller has been removed.


There are a few special drivers for game controllers and (especially) graphic tablets, that manipulate and mix up the input routines from windows in a way that creates the same effect for RPGM only (because RPGM uses an older method for checking entries).


In those cases, you have to remove the non-standard driver for handling the tablet/controller input, allowing the windows-driver to handle that (windows versions since XP usually don't need thos special drivers any longer).


Also, in one case similiar effects were created by dirt in the keyboard - check with another keyboard if that's the case here.
You may need to restart after removing your controller.
Yeah, it seems restarting fixed the problem. Thanks for the help everyone!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-fix-this-bug.18136/