Added TEST control to exercise the VT100's 8251A UART (um, excuse me, the PUSART -- an awful acronym)

This commit is contained in:
Jeff Parsons 2016-08-15 14:19:06 -07:00
commit 762ef22545
5 changed files with 526 additions and 386 deletions

View file

@ -1254,8 +1254,8 @@ Keyboard.prototype.setBinding = function(sHTMLType, sBinding, control, sValue)
else if (sValue) {
/*
* Instead of just having a dedicated "test" control, we now treat any unrecognized control with
* a data value as a test control. The only caveat is that such controls must have binding IDs that
* do not conflict with predefined controls (which, of course, is the only way you can get here).
* a "value" attribute as a test control. The only caveat is that such controls must have binding IDs
* that do not conflict with predefined controls (which, of course, is the only way you can get here).
*/
this.bindings[id] = control;
control.onclick = function onClickTest(event) {