• Show log

    Commit

  • Hash : 1968ff04
    Author : Philipp Wiesemann
    Date : 2015-05-22T22:34:08

    Android: Fixed touch pressure being out of range.
    
    According to the documentation of Android's MotionEvent, the getPressure() may
    return values higher than 1 on some devices. To prevent passing such values into
    SDL they are now corrected to 1 in Java before the JNI call (where it is assumed
    to be correct).
    
    Currently SDL only sends SDL_FINGERMOTION events if the touch state (position or
    pressure) changed. By correcting pressure down to 1 some events may get dropped
    in the rare case that only the pressure was changed but was out of range and the
    position did not change.
    

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

  • README.txt

  •                          Simple DirectMedia Layer
    
                                      (SDL)
    
                                    Version 2.0
    
    ---
    http://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)