Mercurial > sdl-ios-xcode
view README.NDS @ 4170:092c0bc69155 SDL-1.2
Fixed bug #618
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 13 Apr 2009 08:42:09 +0000 |
parents | 8582c6a5ca16 |
children |
line wrap: on
line source
The SDL port to the Nintendo DS This port uses the devKitPro toolchain, available from: http://www.devkitpro.org Precompiled tools for cross-compiling on Linux are available from: http://www.libsdl.org/extras/nds/devkitPro-20070503-linux.tar.gz todo: add ds console specific features/optimizations mouse/keyboard support dual screen support build with: cp include/SDL_config_nds.h include/SDL_config.h make -f Makefile.ds included is an arm9/arm7 template to allow for sound streaming support. Enjoy, fix the source and share :) Troy Davis(GPF) http://gpf.dcemu.co.uk/