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

Separate KeyEvents and KeyPresses

This commit is contained in:
2011-08-26 23:17:10 -04:00
parent 6ec190f526
commit e3c65ac817
15 changed files with 32 additions and 293 deletions

View File

@ -828,9 +828,9 @@ void pfConsole::IHandleKey( plKeyEventMsg *msg )
{
fWorkingCursor = 0;
}
else
else if (msg->GetKeyChar() != nil)
{
key = plKeyboardDevice::KeyEventToChar( msg );
key = msg->GetKeyChar();
// do they want to go into help mode?
if( !fPythonMode && key == L'?' && fWorkingCursor == 0 )
{

View File

@ -95,7 +95,6 @@ class pfConsole : public hsKeyedObject
pfConsoleEngine *fEngine;
void IHandleKey( plKeyEventMsg *msg );
char IKeyEventToChar( plKeyEventMsg *msg );
static UInt32 fConsoleTextColor;
static pfConsole *fTheConsole;