Problem with DualShock V2 PS4
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Papiosaur
    Posts: 2250 from 2003/4/10
    From: France
    Hello,

    i have a DualShock V2 PS4 model CUH-ZCT2E wireless controller.

    I test it with last version of OpenBOR and with analog stick only diagonal and left work, other directions are buggy any idea ?

    When i want use direction button to active this variable:
    SETENV LOWLEVEL_XBOX_USEHATSWITCH 1

    Diagonal directions don't work...

    It will be possible to configure each joystick to create a specific class ?

    Thanks a lot ;-)

    [ Edité par Papiosaur 10.04.2020 - 11:10 ]
  • »10.04.20 - 08:42
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 3118 from 2003/3/5
    From: Canada
    I'll see if I can borrow one from work as soon as life returns to normal and my work office is open again...
  • »10.04.20 - 14:07
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 421 from 2003/2/24
    From: Berlin
    Same here, I only can walk to the upper/lower right (diagonal) by pushing the analog stick to the upper/lower right. If I push the stick to the right I walk to the left.

    Tested with OpenBOR and GIJoe Demo.

    If I set the envvar, I can assign the directional buttons and walking to each direction is working fine.

    I also tried MultiRacer, and with the envvar set I can use the directional buttons and L1 and R1 in the controls menu.
    But without the envvar I can setup the analog stick for accelerate, brake, left and right but the directional buttons and L1,R1 are not recognized!

    And steering with the analog stick works good in this game.

    So I think the bug with handling the analog stick is in SDL!?

    Would be nice if one could use both, the directional buttons and the analog stick at the same time, also the right stick and L2, R2.
  • »11.04.20 - 14:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 421 from 2003/2/24
    From: Berlin
    I could just test a wired xbox controler, and the left analog stick ist working very well with GIJoe in OpenBOR!

    So maybe its not a bug in SDLs analog handling, but in xbox360.class!?
  • »11.04.20 - 14:18
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 612 from 2010/2/10
    From: FRANCE
    Have you test to put this :

    (Extract Release Note 3.12)

    Libs/Lowlevel

    Prefer left analog stick to left hat switch. Can be reversed by setting LOWLEVEL_XBOX_USEHATSWITCH environment variable. As the result, games using lowlevel.library will treat the left analog stick of an Xbox360 compatible gamepad as the main joystick


    I test with it and working well with my PS4 controller with xbox360.class.
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »11.04.20 - 15:35
    Profile Visit Website