Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OBS cannot map DS4 triggers #253

Closed
Squadrani opened this issue May 29, 2022 · 3 comments
Closed

OBS cannot map DS4 triggers #253

Squadrani opened this issue May 29, 2022 · 3 comments

Comments

@Squadrani
Copy link

Hi. I want to map the triggers of my DS4. At the provided graphical tool the plugin can recognize the input of the triggers (of all buttons to be more exactly), but at OBS it can't. I had problems with mapping the buttons too, but i've found a solution with the .json at this answer #175 (comment) . I had to change my keycodes of the buttons to turn them similar to the answer, but i can't do the same with the triggers. I tried to change the parameters, but without success.

I'll let the .png and the .json on a zip file

Overlay.zip

Plugin version: 5.0.0

OBS log: https://obsproject.com/logs/hLz2f_tZwcF1zofs

@HereInPlainSight
Copy link
Contributor

HereInPlainSight commented May 30, 2022

I... cannot confirm this. I have a DS4 controller, and I actually have a video you can see of me using the triggers over in this comment using the default dualsense.json in both the CCT and in OBS itself (and your .json file does not differ significantly in regards to the triggers). I tested your overlay.zip and both triggers seem to work for me.

I'm assuming we have different models of DS4 controllers that differ in significant ways (since the fix worked for your arrow keys but isn't even a starter for mine). If you can download the nightly.7z from libgamepad (you're on 64-bit Windows, so I believe you'll want the x86_64-win32-msvc/bin/libgamepad_tests.exe file in the archive) and provide a log of the output of just your trigger keys (along with the order you pressed them), that would probably be more helpful to the dev for figuring out what's going on.

@dekuscrublife
Copy link

I've been having the same problem as OP. I was going to try using libgamepad and post my log, but the program has been sitting for around 10 minutes and doesn't seem to realize I have a controller plugged in. It just keeps saying "debug: Updating device list" over and over. I tried using the Gamepad Bindings menu in the input_overlay settings in OBS but each trigger has 3 values depending on how far the triggers are pressed in, and none of the three seem to work. I've tried disabling trigger mode in the .json file, but that didn't seem to help either.

@univrsal
Copy link
Owner

univrsal commented Dec 5, 2022

See #297 for further tracking

@univrsal univrsal closed this as completed Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants