arrow key stuck bbeing held down how do i fix this

whenever i try to play ANY rpgmaker game (trying to play a game in vx ace at the moment but having the same problem in other versions as well) its stuck holding down the up arrow?? its really annoying to have to unplug and plug my keyboard back in every single time i want to try to play a game or playtest anything. i'm using Debian Linux and changing the steam proton version did not help with this issue. disabling every device my keychron keyboard makes except the one that makes it actually function in xinput doesnt fix it. any ideas? it worked perfectly fine yesterday i have no idea what's happening.
nevermind this seems to be a wine issue, it is expecting me to have my controller plugged in and is messing up when it isnt for some reason.
Yes, this happens with RM2K3. I don't know if it's all controllers, but from what I've noticed, it's the ones that use generic drivers (same mapping as the Xbox).

If even after disconnecting the controller it remains locked in one direction, try using this tool:

Here's a topic about a possible cause of the problem:

It would be necessary to find some script to disable the D-Pad, but since that's something internal, I don't know if it's possible.

Original thread: https://forums.rpgmakerweb.com/threads/arrow-key-stuck-bbeing-held-down-how-do-i-fix-this.181779/