hrev54115 adds 1 changeset to branch 'master'
old head: 5c2709cdd534170b0d83314b094b3cd38d4da333
new head: 5c1b8016d3c18d486d2945ba9603616ed823f9c0
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=5c1b8016d3c1+%5E5c2709cdd534
----------------------------------------------------------------------------
5c1b8016d3c1: FirstBootPrompt: smarter keyboard layout selection
Change-Id: I6501f8a697039c4c4d600d544e0ce6659d2b5dfe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2539
Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>
[ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54115
Commit: 5c1b8016d3c18d486d2945ba9603616ed823f9c0
URL: https://git.haiku-os.org/haiku/commit/?id=5c1b8016d3c1
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Wed Apr 29 19:44:29 2020 UTC
Committer: waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sat May 2 00:54:48 2020 UTC
----------------------------------------------------------------------------
1 file changed, 11 insertions(+), 1 deletion(-)
src/apps/firstbootprompt/BootPromptWindow.cpp | 12 +++++++++++-
----------------------------------------------------------------------------
diff --git a/src/apps/firstbootprompt/BootPromptWindow.cpp
b/src/apps/firstbootprompt/BootPromptWindow.cpp
index 5d052b72b9..f08e469832 100644
--- a/src/apps/firstbootprompt/BootPromptWindow.cpp
+++ b/src/apps/firstbootprompt/BootPromptWindow.cpp
@@ -64,7 +64,17 @@ namespace BPrivate {
static const char* kLanguageKeymapMappings[] = {
// While there is a "Dutch" keymap, it apparently has not been widely
// adopted, and the US-International keymap is common
- "Dutch", "US-International"
+ "Dutch", "US-International",
+
+ // Cyrillic keymaps are not usable alone, as latin alphabet is required
to
+ // use Terminal. So we stay in US international until the user has a
chance
+ // to set up KeymapSwitcher. TODO enable KeymapSwitcher automatically.
+ "Belarussian", "US-International",
+ "Russian", "US-International",
+ "Ukrainian", "US-International",
+
+ // Turkish has two layouts, we must pick one
+ "Turkish", "Turkish (Type-Q)",
};
static const size_t kLanguageKeymapMappingsSize
= sizeof(kLanguageKeymapMappings) / sizeof(kLanguageKeymapMappings[0]);