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:
@ -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() )
|
||||
|
Reference in New Issue
Block a user