[Solved] Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
|
05-27-2015, 04:28 PM
(This post was last modified: 06-06-2015 01:38 AM by TheDax.)
Post: #1
|
|||
|
|||
[Solved] Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Hello,
I have compiled ppsspp v1.0.1 (Qt version) on Slackware 14.1 and I am able to launch a video game but my joystick seems to not be recognized. I go to settings > controls > control mapping > Dpad Up > then I push any button of my joystick and it does not interact at all with ppsspp. Any idea why? My joystick is: 045e:028e Microsoft Corp. Xbox360 Controller My driver is: xboxdrv 0.8.5 It is working good on all my other applications. It seems that there is a relationship with sdl2 (already installed on my system) and my joystick problem. Here you can see that my sdl2 library is correctly recognized while I am compiling ppsspp: PPSSPP.pro: Code: [...] So the joystick feature should be enabled, isn't it? Thank you. Best regards. |
|||
05-27-2015, 05:14 PM
Post: #2
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Moved.
♦ Intel Core i7-6700HQ | 16 GB RAM | NVIDIA GeForce GTX 960M | Debian Testing ♦ Intel Core i7-2630QM | 4 GB RAM | NVIDIA GeForce GT 540M | Debian Testing ♦ PSP-3004 | 6.60 PRO-C2 |
|||
05-27-2015, 06:04 PM
(This post was last modified: 05-27-2015 06:12 PM by Bigpet.)
Post: #3
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
I quickly recompiled the newest version on Ubuntu14.04 and tested it with the only controller I have lying around, a PS3 controller (054c:0268) and it works fine.
I guess you can try to download this test https://github.com/zielmicha/SDL2/blob/m...joystick.c and compile it (simply "gcc testjoystick.c -I/usr/include/SDL2 -lSDL2" ) and tell us what the output is with your gamepad attached |
|||
05-30-2015, 08:13 PM
(This post was last modified: 05-31-2015 12:36 PM by YuGiOhJCJ.)
Post: #4
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Can you tell me more about what you call "the newest version"?
Have you used the last version (release 1.0.1, corresponding to git commit 8c8e5de89d52b8bcb968227d96cbf049d04d1241) or the last commit on git? I am in the first case and what about you? If you don't know, tell me how you get your version (giving the link you followed and/or the button you pressed and/or the command you typed). |
|||
05-31-2015, 02:19 PM
(This post was last modified: 05-31-2015 02:20 PM by YuGiOhJCJ.)
Post: #5
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Anyway I have just tried with the last commit too:
- 268aed482d5a9471195491ced58d4231211c0b6f (2015-05-31) instead of : - 8c8e5de89d52b8bcb968227d96cbf049d04d1241 (2015-02-26) And I have exactly the same behavior: my Xbox360 controller does not work. I think the problem can be related to: - SDL2 (2.0.3 installed on my system) - Qt (4.8.5 installed on my system) - xboxdrv (0.8.5 installed on my system) Please tell me what version you are currently using it can help me a lot. |
|||
05-31-2015, 02:45 PM
(This post was last modified: 05-31-2015 02:46 PM by Bigpet.)
Post: #6
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
I meant the current most master at the time I posted which was 05-27-2015 and since there were no recent changes to the controller handling you can assume that it's still the same.
Did you try to run that SDL2 joystick detection program that I linked to? edit: oh and Qt is not involved in the controller handling, so you can exclude that |
|||
06-05-2015, 10:35 PM
(This post was last modified: 06-05-2015 10:38 PM by YuGiOhJCJ.)
Post: #7
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Oh sorry I have not seen your link below the horizontal line.
Indeed, I have compiled it and it does not find my joystick: Code: $ gcc `pkg-config sdl2 --cflags --libs` testjoystick.c So, it is probably a problem with SDL2. I thought it was a problem with Qt so I have upgraded: - qt-4.8.5 -> qt-4.8.7: result: same problem - qt-4.8.7 -> qt-5.1.0: result: same problem So, I really think it is not a Qt problem but a SDL2 problem. I don't know why SDL2 does not find my joystick. I have the last stable version. Oh! I found! SDL2 requires root privileges to be able to see the controller: Code: $ sudo ./a.out |
|||
06-06-2015, 01:02 AM
(This post was last modified: 06-06-2015 01:04 AM by YuGiOhJCJ.)
Post: #8
|
|||
|
|||
RE: Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
In fact, this is a permission problem on the device (/dev/input/event*) created by xboxdrv.
A solution is to create an udev rule in a new file: Code: $ cat /etc/udev/rules.d/71-xboxdrv.rules Now, I am able to run the test program without sudo: Code: $ ./a.out Thank you a lot Bigpet for the test program. Problem solved. |
|||
10-14-2015, 08:35 PM
(This post was last modified: 10-14-2015 08:44 PM by Nasra.)
Post: #9
|
|||
|
|||
RE: [Solved] Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Hi !
I have the same problem with my xbox360 (wired). I'm on a Ubuntu 14.04 based system (Elementary OS Freya) and PPSSPP 1.1. Your solution doesn't function for my system... I have the testjoystick installed and run, it detects my pads : ./a.out There are 2 joysticks attached Joystick 0: Microsoft X-Box 360 pad axes: 6 balls: 0 hats: 1 buttons: 11 instance id: 0 guid: 030000005e0400008e02000014010000 Joystick 1: Microsoft X-Box 360 pad axes: 6 balls: 0 hats: 1 buttons: 11 instance id: 1 guid: 030000005e0400008e02000014010000 But the pads doesn't recognize the buttons, i have only directions... (udev rules created) |
|||
10-15-2015, 07:10 AM
(This post was last modified: 10-15-2015 07:10 AM by YuGiOhJCJ.)
Post: #10
|
|||
|
|||
RE: [Solved] Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt)
Maybe you are not using the same driver than me.
You can try this in console: Code: $ sudo rmmod xpad This will unload the "xpad" module, kill all "xboxdrv" processes then start one time the "xboxdrv" driver. You can also check the version of "xboxdrv" you are using: Code: $ xboxdrv --version |
|||
« Next Oldest | Next Newest »
|