mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
- Added a default keyboard layout for launching the game. It's fixed crash when a game running with the extend unicode keyboard (cyrillic, for example).
This commit is contained in:
parent
65099897f4
commit
e18fbcfb89
5 changed files with 41 additions and 2 deletions
|
|
@ -458,8 +458,12 @@ bool ActionMap::createEventDescriptor(const char* pEventString, EventDescriptor*
|
|||
}
|
||||
|
||||
// Now we need to map the key string to the proper KEY code from event.h
|
||||
//
|
||||
AssertFatal(dStrlen(pObjectString) != 0, "Error, no key was specified!");
|
||||
AssertFatal(
|
||||
dStrlen( pObjectString ) > 0,
|
||||
"Error, no key was specified!\n"
|
||||
"Review file 'scripts/client/config.cs' and remove symbols"
|
||||
" which is not latin. Or delete this file."
|
||||
);
|
||||
|
||||
if (dStrlen(pObjectString) == 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue