• Show log

    Commit

  • Hash : 7ac5d616
    Author : Sam Lantinga
    Date : 2022-07-01T08:58:08

    Fixed backspace being delivered after committed text on Android 12
    
    Testing:
    Enter "hello ", followed by "?" - the events generated are:
    : commitText hello
    : Key pressed :  scancode 11 = H, keycode 0x00000068 = H  modifiers: (none)
    : Key released:  scancode 11 = H, keycode 0x00000068 = H  modifiers: (none)
    : Key pressed :  scancode 8 = E, keycode 0x00000065 = E  modifiers: (none)
    : Key released:  scancode 8 = E, keycode 0x00000065 = E  modifiers: (none)
    : Key pressed :  scancode 15 = L, keycode 0x0000006C = L  modifiers: (none)
    : Key released:  scancode 15 = L, keycode 0x0000006C = L  modifiers: (none)
    : Key pressed :  scancode 15 = L, keycode 0x0000006C = L  modifiers: (none)
    : Key released:  scancode 15 = L, keycode 0x0000006C = L  modifiers: (none)
    : Key pressed :  scancode 18 = O, keycode 0x0000006F = O  modifiers: (none)
    : Key released:  scancode 18 = O, keycode 0x0000006F = O  modifiers: (none)
    : Key pressed :  scancode 44 = Space, keycode 0x00000020 = Space  modifiers: (none)
    : Key released:  scancode 44 = Space, keycode 0x00000020 = Space  modifiers: (none)
    : INPUT Text (\x68\x65\x6c\x6c\x6f\x20): "hello "
    : finishComposingText
    : deleteSurroundingText 1 / 0
    : Key pressed :  scancode 42 = Backspace, keycode 0x00000008 = Backspace  modifiers: (none)
    : Key released:  scancode 42 = Backspace, keycode 0x00000008 = Backspace  modifiers: (none)
    : commitText ?
    : Key pressed :  scancode 225 = Left Shift, keycode 0x400000E1 = Left Shift  modifiers: LSHIFT
    : Key pressed :  scancode 56 = /, keycode 0x0000002F = /  modifiers: (none)
    : Key released:  scancode 56 = /, keycode 0x0000002F = /  modifiers: (none)
    : Key released:  scancode 225 = Left Shift, keycode 0x400000E1 = Left Shift  modifiers: (none)
    : INPUT Text (\x3f): "?"
    : setComposingText , at 1
    : EDIT Text (): ""
    
    Previously, the backspace would be delivered after the "?"
    

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