• Show log

    Commit

  • Hash : d97387cc
    Author : Sam Lantinga
    Date : 2019-06-08T14:32:19

    Fixed bug 4600 - Dualshock 4 touchpad press is not detectable with SDL_JoystickGetButton
    
    Dexter Friedman
    
    When using a Dualshock 4 controller (model numbers CUH-ZCT1U and CUH-ZCT2U), pressing anywhere on the center touchpad does not send an SDL_JOYBUTTONDOWN event. I have verified this with testjoystick:
    
    Repro steps:
    1. Plug in a DS4 over USB
    2. Compile testjoystick and run: testjoystick.exe 0
    3. Press and hold the touchpad. Observe that no lime green box appears
    
    Expected behavior:
    A lime green box appears while the touchpad is pressed.
    
    Notes:
    I've attached a patch here that works on my PC and produces the expected behavior in testjoystick, for both DS4 model numbers I listed earlier.
    
    If I understand correctly, by exposing this as a joystick button, the gamecontroller API mapping can be modified with a change to gamecontrollerdb.txt in the future.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags