TUCKER: Check '.' instead of KEYCODE_PERIOD when skipping speech
See commit 7cbf5a9289
for more information.
This commit is contained in:
parent
74ce6af22e
commit
2b9aa962d9
1 changed files with 6 additions and 3 deletions
|
@ -650,6 +650,12 @@ void TuckerEngine::parseEvents() {
|
|||
while (_eventMan->pollEvent(ev)) {
|
||||
switch (ev.type) {
|
||||
case Common::EVENT_KEYDOWN:
|
||||
switch (ev.kbd.ascii) {
|
||||
// do not use KEYCODE_PERIOD here so that it works with most keyboard layouts
|
||||
case '.':
|
||||
_inputKeys[kInputKeySkipSpeech] = true;
|
||||
break;
|
||||
}
|
||||
switch (ev.kbd.keycode) {
|
||||
case Common::KEYCODE_f:
|
||||
if (ev.kbd.hasFlags(Common::KBD_CTRL)) {
|
||||
|
@ -672,9 +678,6 @@ void TuckerEngine::parseEvents() {
|
|||
_inputKeys[kInputKeyEscape] = true;
|
||||
_inputKeys[kInputKeySkipSpeech] = true;
|
||||
break;
|
||||
case Common::KEYCODE_PERIOD:
|
||||
_inputKeys[kInputKeySkipSpeech] = true;
|
||||
break;
|
||||
case Common::KEYCODE_d:
|
||||
if (ev.kbd.hasFlags(Common::KBD_CTRL)) {
|
||||
this->getDebugger()->attach();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue