mmatyas / openblok

A customizable, cross platform, open-source falling block game, packed with a bunch of features.
GNU General Public License v3.0
99 stars 15 forks source link

Controller issues on Steam deck #58

Closed trolololo-haha closed 11 months ago

trolololo-haha commented 1 year ago

Hello,

I have done a couple of tests, but the controller seems to have issues in multiple scenarios (keyboard emulation seems to be working fine): 1) tested the run in desktop mode - A B gamepad buttons doesn't seem to work, so rotation doesn't work, the rest is fine. 2) tested in steam big picture mode, the appimage was added as a non steam game - left only worked on the d pad and right only worked on the left stick, though sometimes left refused to work at all or worked on the 3/5/7 press (this behavior is random) (Once a game is added to the steam launcher - steam input can be used to emulate different type of inputs, for this example gamepad with joystick trackpad was selected. 3) in both cases, I have changed in the game's settings from keyboard to steam virtual machine - and every time after I have tried one game and went back to the settings, it would reset back to keyboard.

I couldn't really find a working solution with the gamepad, so leaving the game as a non steam game (as I would prefer to use it this way), I have found the following solution - change the steam input (for controller settings) from gamepad to keyboard(WASD) and mouse and in game reassign some buttons. IMG_20231017_182731 IMG_20231017_183607

trolololo-haha commented 11 months ago

I'm closing it, as without a steam deck it would be hard to troubleshoot the problem and there is a workaround to make the game work with steam input.