question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PS3 controller left trigger stays pressed on moonlight-embedded

See original GitHub issue

Hello,

I noticed an issue with the PS3 mapping on moonlight-embedded and then I noticed that it was actually using the mappings from here. I already opened an issue on irtimmer/moonlight-embedded but without any answer yet and I thought that it might be better to solve the issue directly here.

The issue is that the left trigger stays pressed after the first time I press it. If I change the mapping, this issue disappears so I think that it comes from an incorrect mapping.

In the current mapping, for the PS3 controller I use () I have these values for the triggers: lefttrigger:a2,righttrigger:a5. It works fine when I change it to lefttrigger:b6,righttrigger:b7.

Here is the mapping that works perfectly: 050000004c0500006802000000810000,Sony Computer Entertainment Wireless Controller,a:b0,b:b1,x:b3,y:b2,start:b9,guide:b10,back:b8,leftstick:b11,rightstick:b12,leftshoulder:b4,rightshoulder:b5,dpup:b13,dpleft:b15,dpdown:b14,dpright:b16,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:b6,righttrigger:b7,platform:Linux

Would you like me to submit a PR?

Do not hesitate to ask if you need more information.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Pakoachcommented, Jul 5, 2019

My devices are official PS3 controllers. One came with the PS3 and I bought the second one afterwards. So I guess they should have pressure sensitivity. Then maybe @offalynne was right and it could be an issue with the driver… Honestly I don’t how all this is working together. I never took a look at the code of the driver nor the SDL library… I opened an issue at SDL. I hope someone there will understand the issue and propose a way forward… @CookiePLMonster if you have any idea yourself, do not hesitate to share.

Here is the link to the issue FYI https://bugzilla.libsdl.org/show_bug.cgi?id=4686

0reactions
CookiePLMonstercommented, Jun 23, 2019

I’m not convinced this is a good solution, as it kills pressure sensitivity of triggers. Unless your device is a bootleg gamepad and doesn’t have analog triggers?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PS3 controller left trigger stays pressed · Issue #747 - GitHub
Left trigger is always pressed in the game. I think it was working before but I was using the older version without SDL...
Read more >
PS3 Motion Controller Trigger Always Engaged Fix - YouTube
PS3 Eye Motion Controller had the trigger always engaged without pulling it. I show in this video how I fixed it.
Read more >
Moonlight Embedded - Page 12 - Raspberry Pi Forums
I've setup Moonlight Embedded on Retropie/Emulationstation using different guides and i am very happy with the results. My X360 controllers ...
Read more >
Sony DualShock 3 - call for testers: "sixaxis" script module - RetroPie ...
I was using triggers, left analog stick and face buttons - so the ... back in and press the playstation button for it...
Read more >
Game streaming to other Android devices or PCs with ...
Please don't ask for Moonlight help on Nvidia's forums! ... would translate to a RT button press. staying over RT would depict the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found