add calibrate_line command under alt+t

This commit is contained in:
Silver Kuusik 2018-01-13 16:23:09 +01:00
parent 4361448951
commit 2e053cc911

View File

@ -381,6 +381,9 @@ window.onload = function() {
$(".btn-stop").addClass("hover"); $(".btn-stop").addClass("hover");
$(".btn-stop").click(); $(".btn-stop").click();
break; break;
case 84: // t
sumorobot.send("calibrate_line");
break;
case 87: // w case 87: // w
$(".btn-start").addClass("hover"); $(".btn-start").addClass("hover");
$(".btn-start").click(); $(".btn-start").click();
@ -468,6 +471,7 @@ window.onload = function() {
$("#panel").hide(); $("#panel").hide();
}); });
/* load the Mixer stream */
$("#stream").html('<iframe width="100%" height="100%" allowfullscreen="true" src="https://mixer.com/embed/player/14551694"></iframe>'); $("#stream").html('<iframe width="100%" height="100%" allowfullscreen="true" src="https://mixer.com/embed/player/14551694"></iframe>');
/* try to close if block bubble canvas */ /* try to close if block bubble canvas */