• Sam Lantinga's avatar
    Fixed bug #618 · 0cc0d8eb
    Sam Lantinga authored
       Description From  Tim Angus   2008-08-30 12:23:56   (-) [reply]
    
    As we all know SDL 1.2 doesn't handle dead keys well since one key press
    potentially equals two (or more) characters. For example, on many layouts,
    keying <backquote>,<space> results in <no character>,<backquote><space>. Since
    the unicode member of the SDL_keysym struct only has room for one character,
    only one can be returned.
    
    On Linux, the first character is returned. On Windows however, unless the exact
    number of characters generated by the keypress is 1, nothing is returned. The
    following patch addresses this inconsistency.
    
    Updated patch which includes a further fix to the handling of the numpad when
    numlock is on. This further fix is courtesy Amanieu d'Antras.
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403578
    0cc0d8eb
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
loadso Loading commit data...
main Loading commit data...
stdlib Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...