PC [BUG] Gamepad not working in Linux GOG version

Geekley

Cowpoke
The game makes it seem like there's gamepad support even in PC version, but my 8bitdo controllers aren't being recognized by the game at all ... The OS recognizes it fine, but not the game. I try to walk, press buttons, nothing happens. I've also trying assigning buttons on the pause menu, but the game just doesn't recognize the controller. I also tried changing "Gamepad Mode" preference on pause menu, but it didn't help.

I've tested with my 8bitdo controllers: NES30 Pro and SNES 30 in various modes, but none works. I tried everything I could:
NES30Pro:
- on Bluetooth, in XInput mode (Xbox): OS displays it as "8Bitdo NES30 Pro(x) (/dev/input/js1)"
- on Bluetooth, in Nintendo mode (Switch Pro controller): OS displays it as "Pro Controller (/dev/input/js1)"
- on USB cable: OS displays it as "8Bitdo NES30 Pro 8Bitdo NES30 Pro (/dev/input/js1)"; also tested re-plugging the cable while game is open
SNES30:
- on Bluetooth, in XInput mode (Xbox): OS displays it as "8Bitdo SNES30 GamePad(x) (/dev/input/js1)"
- on Bluetooth, in Android mode: OS displays it as "8Bitdo SNES30 GamePad (/dev/input/js1)"
- on USB cable: OS displays it as "SNES30 SNES30 Joy (/dev/input/js1)"

Not sure if relevant, but the first joystick entry (/dev/input/js0) is always the laptop's built-in accelerometer (I can't change this), OS displays it as "ST LIS3LV02DL Accelerometer (/dev/input/js0)". I did try tilting the laptop though, but since this didn't make the character walk, that's likely not the problem.

Versions:
Stardew Valley: GOG Linux 1.5.4.981587505
OS: Kubuntu 20.04 amd64, Linux 5.4.0-65-generic
DE: KDE Plasma 5.18.5
Input libs versions (apt):
inputattach/focal,now 1:1.7.0-1 amd64
libinput-bin/focal-updates,now 1.15.5-1ubuntu0.2 amd64
libinput10/focal-updates,now 1.15.5-1ubuntu0.2 amd64
libxcb-xinput0/focal,now 1.14-2 amd64
xinput/focal,now 1.6.3-1 amd64
xserver-xorg-input-all/focal,now 1:7.7+19ubuntu14 amd64
xserver-xorg-input-libinput/focal,now 0.29.0-1 amd64
 

Geekley

Cowpoke
Well, in case anyone else has this problem, I managed to work around it using QJoyPad to map gamepad to mouse and keyboard. Not the best solution, but works, I guess.
 
Top