Skip to content

Commit

Permalink
WAGE: Support full range of ASCII in input
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 3, 2016
1 parent c8b20bc commit 44582b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions engines/wage/wage.cpp
Expand Up @@ -169,10 +169,12 @@ void WageEngine::processEvents() {
break;

default:
if (event.kbd.flags)
if (event.kbd.flags & Common::KBD_ALT || event.kbd.flags & Common::KBD_CTRL) {
warning("STUB: Shortcuts");
break;
}

if (Common::isAlpha(event.kbd.ascii)) {
if (event.kbd.ascii >= 0x20 && event.kbd.ascii <= 0x7f) {
_inputText += (char)event.kbd.ascii;
_gui->drawInput();
}
Expand Down

0 comments on commit 44582b5

Please sign in to comment.