The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[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:
[...]
    macx|equals(PLATFORM_NAME, "linux") {
            PRE_TARGETDEPS += $$CONFIG_DIR/libCommon.a $$CONFIG_DIR/libCore.a $$CONFIG_DIR/libGPU.a $$CONFIG_DIR/libNative.a
            CONFIG += link_pkgconfig
            packagesExist(sdl2) {
                    DEFINES += SDL
                    SOURCES += $$P/SDL/SDLJoystick.cpp
                    HEADERS += $$P/SDL/SDLJoystick.h
                    PKGCONFIG += sdl2
                    macx {
                            LIBS += -F/Library/Frameworks -framework SDL
                            INCLUDEPATH += /Library/Frameworks/SDL.framework/Versions/A/Headers
                    }
                    error(---joystick---) # <--- added line
            }
    }
    [...]
I have added a line to trigger an error if it is found and the error is displayed when I launch the build.
So the joystick feature should be enabled, isn't it?

Thank you.
Best regards.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[Solved] Xbox360 Controller is not recognized by ppsspp 1.0.1 (Qt) - YuGiOhJCJ - 05-27-2015 04:28 PM

Forum Jump: