Analog pad

mase76
2009-10-05
2013-04-22
  • mase76
    mase76
    2009-10-05

    Hi!
    A lot of games do not start, when analog pad is enabled.
    Especially games with a pal / ntsc selector, I cannot select
    one.
    The only game I tested successfully with analog is the
    original of Gran Turismo 1 + 2.

     
  • Wei Mingzhi
    Wei Mingzhi
    2009-10-20

    it seems the analog pad is only enabled when a special command is sent to the pad (without the command the pad will just act as a digital pad), and currently PCSX always treat the pad as analog if the plugin reports the pad is "analog" which leads to problem.

     
  • Wei Mingzhi
    Wei Mingzhi
    2009-10-20

    there also seems to be some bugs with analog pad support, e.g., in FF8 the analog pad is totally messed up.

     
  • Wei Mingzhi
    Wei Mingzhi
    2009-11-25

    I've written a new plugin from stretch which should fix the problem when the controller is configured as "analog". The sources can be found with svn:

    svn checkout https://pcsxr.svn.codeplex.com/svn/pcsxr/plugins/dfinput/

    for using this, replace the plugins/dfinput directory in pcsx-df sources with my version and re-run "sh autogen.sh" and compile. Please try if it works :)

     
  • mase76
    mase76
    2009-11-25

    I had to replace
    #include <SDL.h>
    with
    #include <SDL/SDL.h>
    in pad.h to get it compiled.
    But when launching pcsx-df I get an undefinied symbol error:
    Error opening /usr/lib/games/psemu/libDFInput.so: /usr/lib/games/psemu/libDFInput.so: undefined symbol: SDL_JoystickOpen.

     
  • mase76
    mase76
    2009-11-25

    I tried recompiling, now it works. I had to create the symlink to
    cfgDFInput manually to ~/.pcsx/cfg/cfgDFInput.
    Sometimes the game hangs (stops loading). I am not sure, if it
    is an issue with the input-plugin.
    Analog pad isn't recognized in the game.
    Maybe you should provide this plugin separate with an other name
    to coexist with the input-plugin provided by pcsx-df.
    However I think, your plugin points to the right direction.