mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-10 14:16:47 -04:00
Add manual triggering of game sounds to Field Testing page.
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
|
||||
var websocket;
|
||||
|
||||
// Sends a websocket message to play a given game sound on the audience display.
|
||||
var playSound = function(sound) {
|
||||
websocket.send("playSound", sound);
|
||||
};
|
||||
|
||||
// Handles a websocket message to update the PLC IO status.
|
||||
var handlePlcIoChange = function(data) {
|
||||
$.each(data.Inputs, function(index, input) {
|
||||
|
||||
Reference in New Issue
Block a user