Added round LEDs to the UI (initially just for the VT100)

This commit is contained in:
Jeff Parsons 2016-08-02 11:02:00 -07:00 committed by Jeff Parsons
commit b25a9268a1
21 changed files with 865 additions and 738 deletions

View file

@ -1867,6 +1867,9 @@ Keyboard.prototype.injectKeysFromBuffer = function(msDelay)
*/
Keyboard.prototype.setLED = function(control, f)
{
/*
* TODO: Add support for user-definable LED colors
*/
control.style.backgroundColor = (f? "#00ff00" : "#000000");
};