From 2e053cc911456889494c27618ae7cf36dcdf8e2a Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Sat, 13 Jan 2018 16:23:09 +0100 Subject: [PATCH] add calibrate_line command under alt+t --- sumorobot.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sumorobot.js b/sumorobot.js index 40b0d48..aae93d8 100755 --- a/sumorobot.js +++ b/sumorobot.js @@ -381,6 +381,9 @@ window.onload = function() { $(".btn-stop").addClass("hover"); $(".btn-stop").click(); break; + case 84: // t + sumorobot.send("calibrate_line"); + break; case 87: // w $(".btn-start").addClass("hover"); $(".btn-start").click(); @@ -468,6 +471,7 @@ window.onload = function() { $("#panel").hide(); }); + /* load the Mixer stream */ $("#stream").html(''); /* try to close if block bubble canvas */