Opened 3 years ago

Closed 3 years ago

#12161 closed defect (fixed)

Application crash when assigning Xbox One buttons

Reported by: mfordy Owned by: criezy
Priority: normal Component: Engine: Grim
Version: Keywords: keymap
Cc: Game: Escape from Monkey Island

Description

This happens both from the ScummVM GUI and the options menu in EMI.

In ScummVM GUI, when the system waits for a button press, using the analogue stick will cause the console to respond with "Unknown key!" before the application crashes.

In the EMI options menu, merely selecting an action to assign to a button has the same issue.

This was working properly in the final ResidualVM version.

Testing system is Windows 10 20H2 19042.804 with daily ScummVM version 2.3.0git12726-g3fd1395273

Change History (2)

comment:1 by mfordy, 3 years ago

Component: ToolsEngine: Grim
Keywords: keymap added

comment:2 by criezy, 3 years ago

Owner: set to criezy
Resolution: fixed
Status: newclosed

This is probably fixed by af4878e884.
It fixes a regression introduced with the Pull Request #2548 that could cause an "Unknown key" error in the keymapper when handling an EVENT_JOYAXIS_MOTION event. The description of this ticket makes it look very likely that this is the same bug.

Note: See TracTickets for help on using tickets.