From cab19e79a59a377e9c7cc5911522483a221507f0 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 15 Oct 2011 09:14:29 +0200 Subject: [PATCH] build umlauts and esszett ... keyboard-layout currently 'broken', will be fixed soon --- source/libwiigui/gui_keyboard.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/source/libwiigui/gui_keyboard.cpp b/source/libwiigui/gui_keyboard.cpp index d65786c..0b814ae 100644 --- a/source/libwiigui/gui_keyboard.cpp +++ b/source/libwiigui/gui_keyboard.cpp @@ -53,7 +53,7 @@ GuiKeyboard::GuiKeyboard(char * t, u32 max, bool Br) else letterPos = 0; - Key thekeys[4][11] = { + Key thekeys[4][13] = { { {'1','!'}, {'2','@'}, @@ -65,7 +65,8 @@ GuiKeyboard::GuiKeyboard(char * t, u32 max, bool Br) {'8','*'}, {'9','('}, {'0',')'}, - //{'ß', '¿'}, + {'ß', 'ß'}, + {'\0','\0'}, {'\0','\0'} }, { @@ -79,8 +80,9 @@ GuiKeyboard::GuiKeyboard(char * t, u32 max, bool Br) {'i','I'}, {'o','O'}, {'p','P'}, - //{'ü', 'Ü'}, - {'-','_'} + {'ü', 'Ü'}, + {'-','_'}, + {'\0','\0'} }, { {'a','A'}, @@ -92,8 +94,8 @@ GuiKeyboard::GuiKeyboard(char * t, u32 max, bool Br) {'j','J'}, {'k','K'}, {'l','L'}, - //{'ö', 'Ö'}, - //{'ä', 'Ä'}, + {'ö', 'Ö'}, + {'ä', 'Ä'}, {';',':'}, {'\'','"'} }, @@ -109,6 +111,8 @@ GuiKeyboard::GuiKeyboard(char * t, u32 max, bool Br) {',','<'}, {'.','>'}, {'/','?'}, + {'\0','\0'}, + {'\0','\0'}, {'\0','\0'} } };