Fix the IBM 2.20 Diagnostics System Board test

This commit is contained in:
Jeff Parsons 2014-11-13 17:16:54 -08:00 committed by jeffpar
commit 99880e01da
5 changed files with 171 additions and 107 deletions

View file

@ -807,7 +807,7 @@ Keyboard.prototype.setBinding = function(sHTMLClass, sHTMLType, sBinding, contro
this.bindings[id] = control;
control.onclick = function(kbd, sKey, keyCode) {
return function onClickKeyboard(event) {
if (DEBUG) kbd.println(sKey + " clicked");
if (DEBUG) kbd.messageDebugger(sKey + " clicked", Debugger.MESSAGE.KEYS);
if (kbd.cpu) kbd.cpu.setFocus();
return !kbd.keySimulatePress(keyCode);
};