Xbox 360 controller under linux : buttons A-B-X-Y recognized as UP-Down-Left-Right
|
06-03-2014, 06:12 PM
(This post was last modified: 06-03-2014 06:13 PM by Hunkerz.)
Post: #1
|
|||
|
|||
Xbox 360 controller under linux : buttons A-B-X-Y recognized as UP-Down-Left-Right
Hello everyone,
I installed PPSSPP under an Archlinux based distro (x86_64 / KDE / Kernel 3.14.4). The installation went fine (v.0.9.8-950-g410fc71), and I can start PPSSPP (in fact, PPSSPPQt) whithout problem. I also installed "xboxdrv" driver, for my Xbox360 wired USB controller. In KDE system config., I can configure the controller nicely. All buttons and sticks are detected. Moreover, in every game I installed (SuperTux, other emu's) : the whole controller works perfectly. However... As I mentionned on this thread subject, on PPSSPP : the A B X and Y buttons are respectively recognized as pad.UP pad.Down pad.Left and pad.Right ...while all other buttons / sticks are OK. So, do anyone have a way to solve this please ? Thanks. |
|||
06-03-2014, 06:36 PM
(This post was last modified: 06-03-2014 06:39 PM by Bigpet.)
Post: #2
|
|||
|
|||
RE: Xbox 360 controller under linux : buttons A-B-X-Y recognized as UP-Down-Left-Right
The mapping is here: https://github.com/hrydgard/ppsspp/blob/....h#L65-L87
I think that was based around what was there on OSX but I don't have a XB360 controller, so I can't test it under Linux. But I'm guessing we might be better off to use the same mapping as win32 for linux (I presume xboxdrv is made in accordance to that) and just leave the old config OSX only. |
|||
06-04-2014, 10:55 AM
Post: #3
|
|||
|
|||
RE: Xbox 360 controller under linux : buttons A-B-X-Y recognized as UP-Down-Left-Right
Why dont simply remap the keys? i remember that i had some probs with this on arch as well, but not sure wich ones.
I still know that i remapped, and this is my config. Works for MHU, don't play anything else, you can test it if you want. [ControlMapping] Up = 10-4035,10-4033 Down = 10-4034,10-4032 Left = 10-4029,10-4031 Right = 10-4028,10-4030 Circle = 10-20 Cross = 10-19 Square = 10-21 Triangle = 10-22 Start = 10-193 Select = 10-192 L = 10-197 R = 10-196 An.Up = 10-4003 An.Down = 10-4002 An.Left = 10-4001 An.Right = 10-4000 RapidFire = 1-59 Unthrottle = 1-61 Pause = 1-111 Rewind = 1-67 SpeedToggle = 10-4023 Toggle Fullscreen = 10-4036 config is located unter $USER/.config/ppsspp/PSP/SYSTEM/controls.ini |
|||
« Next Oldest | Next Newest »
|