• Show log

    Commit

  • Hash : e841b066
    Author : Ryan C. Gordon
    Date : 2019-07-08T13:41:01

    cocoa: Another attempt at mouse vs touch support.
    
    This time, we make anything we think is a MacBook trackpad report its touches
    as SDL_MOUSE_TOUCHID, even though they're not _actually_ synthesized events,
    and let all mouse input--even if the OS synthesized it from a multitouch
    trackpad on our behalf--look like physical input. This is backwards from
    reality, but produces the results most apps will expect.
    
    Note that if you have a real touch device that doesn't appear to be the
    trackpad, it'll produce real touch events with unique device ids, so it's
    not a total loss here, but also note that the way we decide if it was the
    trackpad is an imperfect heuristic; it happens to work out right now, but
    it's not impossible that a real touchscreen could come to the Mac at some
    point and (incorrectly?) call it a "mouse" input, etc.
    
    But for now, good enough.
    
    Fixes Bugzilla #4690.
    

  • 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 thodg_l www_kmx_io thodg
    Tags

  • README.txt

  •                          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)