Fix the IBM 2.20 Diagnostics System Board test
This commit is contained in:
parent
cd0ed8c62a
commit
99880e01da
5 changed files with 171 additions and 107 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue