2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Use unicode for key events despite the fact that our current Plasma20 fonts only support latin-1

This commit is contained in:
2011-06-09 02:14:36 -04:00
committed by Branan Purvine-Riley
parent 13147affed
commit a29a7deda0
16 changed files with 51 additions and 128 deletions

View File

@ -890,7 +890,7 @@ void plPythonFileMod::RemoveTarget(plSceneObject* so)
void plPythonFileMod::HandleDiscardedKey( plKeyEventMsg *msg )
{
// So OnDefaultKeyCaught takes two parameters: the key character pressed and a boolean saying up or down
char keyChar = plKeyboardDevice::KeyEventToChar( msg );
wchar_t keyChar = plKeyboardDevice::KeyEventToChar( msg );
// if the caps lock is down then reverse upper and lowercase
if ( msg->GetCapsLockKeyDown() )