AntiMicroX / AntiMicroX/antimicrox
LT and RT mapping to wrong butttons
- 主要言語
- C++
- スター
- 4k
- フォーク
- 249
- 平均マージ
- 13分
- マージ済み PR(30日)
- 1
説明
### Is there an existing issue for this?
- [X] 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
```markdown
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
コントリビューションガイド
評価
この issue はまだ評価されていません。