Opened 12 months ago

Last modified 5 months ago

#16147 new defect

DGDS: Gamepad (A,B,X,Y) buttons not working

Reported by: Diskach01 Owned by:
Priority: normal Component: Engine: DGDS
Version: Keywords: Gamepad buttons
Cc: Diskach01 Game: Rise of the Dragon

Description (last modified by Diskach01)

Gamepad/controller buttons are not working in DGDS games.
Analog which emulates mouse is working normally, also START button works and shows the ScummVM menu when pressed. Only face buttons don't work, precisely "mouse buttons 1 & 2".
I tried this on windows x64 version 2.9.0, 2.9.1, 2.9.2 nightlyes.
I also tried this on Batocera beta V42 on x86 64 version, and on Anbernic 35XX H with MuOS 2502 Pixie (with all the patches) Linux ARM version.

Games and versions I tried:
Rise of the Dragon floppy DOS
The Adventures of Willy Beamish floppy and CD (talkie) DOS versions
Heart Of China DOS floppy version

EDIT: all of the game versions are in English.
My Win machines are on win10 pro 22h2 and win10 IOT LTSC 21h2.
EDI": I tried x360 wired, X1 gamepad, dualshock 4, dualsense, gamesir nova lite...none of them works.

Change History (4)

comment:1 by Diskach01, 12 months ago

Description: modified (diff)

comment:2 by Diskach01, 12 months ago

Description: modified (diff)

comment:3 by tag2015, 12 months ago

Summary: Gamepad (A,B,X,Y) buttons not working in DGDS gamesDGDS: Gamepad (A,B,X,Y) buttons not working

comment:4 by mduggan, 5 months ago

This is a side-effect of the way I had to integrate actual mouse events and custom engine events in DgdsEngine::pumpMessages(). It should be possible to support gamepad in there, but I don't have one to test with.

Note: See TracTickets for help on using tickets.