1
0
Fork 0

use layout name for auto kb layout detection, enable it by default;

add secondary hungarian layout check (see sf patch #2528951 by etillite)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3271
This commit is contained in:
Sebastian Strohhäcker 2009-01-23 19:27:54 +00:00
parent a81b9ffa5c
commit 0589064b99
2 changed files with 29 additions and 6 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dosbox.cpp,v 1.141 2009-01-20 20:01:04 c2woody Exp $ */
/* $Id: dosbox.cpp,v 1.142 2009-01-23 19:27:54 c2woody Exp $ */
#include <stdlib.h>
#include <stdarg.h>
@ -647,7 +647,7 @@ void DOSBOX_Init(void) {
Pbool->Set_help("Enable UMB support.");
secprop->AddInitFunction(&DOS_KeyboardLayout_Init,true);
Pstring = secprop->Add_string("keyboardlayout",Property::Changeable::WhenIdle, "none");
Pstring = secprop->Add_string("keyboardlayout",Property::Changeable::WhenIdle, "auto");
Pstring->Set_help("Language code of the keyboard layout (or none).");
// Mscdex