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

LT and RT mapping to wrong butttons #877

Open
1 task done
reisaraujo-miguel opened this issue Nov 25, 2023 · 5 comments
Open
1 task done

LT and RT mapping to wrong butttons #877

reisaraujo-miguel opened this issue Nov 25, 2023 · 5 comments
Labels
bug Something isn't working hardware-specific This issue is linked with specific hardware

Comments

@reisaraujo-miguel
Copy link
Contributor

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

I used the software to map my controller and every button seemed to work properly, except for the left trigger and right trigger.

I use the steam controller mapping feature and it works just fine, so I tried to copy the SDL 2 Game Controller Mapping String from steam and compare it with the String produced by AntiMicroX.

Steam:

0500a5d049190000020400001b010000,GameSir T4 Pro,crc:8283,a:b0,b:b1,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b23,leftshoulder:b6,leftstick:b13,lefttrigger:a5,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:a4,rightx:a2,righty:a3,start:b11,x:b3,y:b4,platform:Linux,

AntiMicroX:

0500a5d049190000020400001b01000064731026,Ipega PG9118,platform:Linux,a:b0,b:b1,x:b3,y:b4,back:b10,start:b11,guide:b15,leftshoulder:b6,rightshoulder:b7,leftstick:b13,rightstick:b14,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b8,righttrigger:b9,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,

You can see that while Steam maps lefttrigger to a5 and AntiMicroX maps to b8, the same with righttrigger, Steam maps to a4 and AntiMicroX maps to b9.

Expected Behavior

The LT and RT should be mapped to the right buttons so it can work properly.

Steps To Reproduce

No response

Environment

Program Version 3.3.4
Program Compiled on Jul 19 2023 at 00:00:00
Built Against SDL 2.26.5
Running With SDL 2.26.5
Using Qt 5.15.11
Using Event Handler: uinput
Compositor type: wayland
Host OS: fedora Version: 39 Architecture: x86_64

Anything else?

Gamepad model: NS009-S

@reisaraujo-miguel reisaraujo-miguel added the bug Something isn't working label Nov 25, 2023
@pktiuk pktiuk added the hardware-specific This issue is linked with specific hardware label Dec 3, 2023
@Augusto7743
Copy link

What is your controller ?

@reisaraujo-miguel
Copy link
Contributor Author

The model name is NS009-S. It is a generic Nintendo Switch controller.

It has two modes, when connected via USB it is recognized by AntiMicroX as "SHANWAN Android Gamepad". When connected via Bluetooth it is recognized by AntiMicroX as "Ipega PG 9069"

@MrChillings
Copy link

MrChillings commented Dec 22, 2023

shouldn't u use Betterjoy to connect a switch controller to pc?

my experience with the PDP wannebe pro controller it only worked right if i used Betterjoy which "converts" it to a xbox 360 controller. AntiMicroX can then recognize it as the xbox 360 controller and map everything to your likings.

while betterjoy communicates the right controller input to AntiMicroX.

@reisaraujo-miguel
Copy link
Contributor Author

I believe Betterjoy is a Windows only program. I am a Linux user ;-;

@MrChillings
Copy link

did a quick search. not sure if this is even close to betterjoy it popped up as an alternative to it:
https://github.com/DanielOgorchock/joycond

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hardware-specific This issue is linked with specific hardware
Projects
None yet
Development

No branches or pull requests

4 participants