• Show log

    Commit

  • Hash : 4535d654
    Author : Steven Noonan
    Date : 2021-04-22T14:35:59

    HIDAPI_UpdateDiscovery: only treat "add" and "remove" events as relevant
    
    I have a buggy system which reports a udev "change" event for an empty
    USB-C port every 0.14 seconds, which causes annoying frame hitches
    because SDL decides that means it needs to do a libusb hid_enumerate,
    which is slow (~25ms!) because of the get_usb_string() calls in there.
    
    We only need to re-enumerate if we've seen a device added or removed, so
    let's filter out the change event first.
    
    Signed-off-by: Steven Noonan <steven@valvesoftware.com>
    Signed-off-by: Sam Lantinga <slouken@libsdl.org>
    

  • 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

  • README.md

  • Simple DirectMedia Layer (SDL) Version 2.0

    https://www.libsdl.org/

    Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve’s award winning catalog and many Humble Bundle games.

    More extensive documentation is available in the docs directory, starting with README.md

    Enjoy!

    Sam Lantinga (slouken@libsdl.org)