Steam deck (via proton) has double inputs on some buttons/menus

I recently deployed the demo of my game on Steam, and set it as working on linux via Proton (which it does).
I don't have a Steamdeck but asked a friend who does to see if it worked, and the game launches without problem... except that, when choosing a menu option, the game registers the input twice. Which is annoying !
I checked everything on my end, and it seems to work well... I know that that issue doesn't happen when running the game on windows or linux and using a controller.

Does anyone know how to change that from happening ? And if it can be changed only on steamworks ?
Thanks in advance.

Here's the link to the demo on steam if you want to replicate the issue yourself

Original thread: https://forums.rpgmakerweb.com/threads/steam-deck-via-proton-has-double-inputs-on-some-buttons-menus.182765/