touchHLE icon indicating copy to clipboard operation
touchHLE copied to clipboard

Crash while using DS4Windows virtual controller

Open celerizer opened this issue 7 months ago • 4 comments

Describe the feature or issue.

Steps to reproduce:

  • Load DS4Windows with a PlayStation controller connected
  • Load a game with multiple "button to touch" bindings, in my case Crash Kart
  • Hold two mapped buttons at the same time at any point
  • Program ends with failed assertation
thread 'main' panicked at src\frameworks\uikit\ui_touch.rs:155:13:
assertion `left == right` failed
  left: 2
 right: 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Register state immediately after panic:
         R0: 0x375b8210  R1: 0x374f42b0  R2: 0x00000000  R3: 0x00000000
         R4: 0x00000001  R5: 0x374f7700  R6: 0xffffff44  R7: 0xffffff38
         R8: 0x00000000  R9: 0x00000000 R10: 0x00000000 R11: 0x00000000
        R12: 0x00000000  SP: 0xffffff2c  LR: 0x0007f76f  PC: 0x0007f8e4
Attempting to produce stack trace for main thread:
 0. 0x7f8e4 (PC)
 1. 0x7f76f (LR)
 2. 0x2a14
Next FP (0x0) is outside the stack.

I found this while using DS4Windows to create an XInput controller for my PS4 controller, so it should be two controllers sending identical inputs. Unfortunately don't have any other controller to test with, so I'm not sure if using two natural controllers with different inputs also causes the crash. Using Windows x64

By submitting this issue, I certify that…

  • [X] I understand that linking to, discussing or asking for pirated content is not permitted, and will lead to an immediate ban.
  • [X] I understand that “Abandonware” and illegal copies of free games are also pirated content.

celerizer avatar Jul 06 '24 17:07 celerizer