Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11keyboard.c @ 2825:620a91b6d263
Date: Tue, 02 Dec 2008 23:38:26 +0100
From: Couriersud
Subject: Re: SDL: Keyboard layout unknown
I have attached a diff which will add an additional keyboard layout to
the x11 driver. The issue arose, when I moved to ubuntu intrepid. I was
only able to map the keys available on my keyboard. The differences to
the existing keyboard was the mapping of HOME,UP,DOWN and some other
keys.
Now only one issue remains. Dead keys (e.g. ^, ` ') on european
keyboards do not generate a "scancode" event. Just a text event when the
key is composed (e.g. ?? ?? ??).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 03 Dec 2008 04:32:24 +0000 |
parents | 4ac07ae446d3 |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11keyboard.c Tue Dec 02 17:14:04 2008 +0000 +++ b/src/video/x11/SDL_x11keyboard.c Wed Dec 03 04:32:24 2008 +0000 @@ -285,6 +285,7 @@ } scancode_set[] = { { darwin_scancode_table, SDL_arraysize(darwin_scancode_table) }, { xfree86_scancode_table, SDL_arraysize(xfree86_scancode_table) }, + { xfree86_scancode_table2, SDL_arraysize(xfree86_scancode_table2) }, }; /* *INDENT-OFF* */