diff --git a/data/js/mouse.js b/data/js/mouse.js index de24acf..120708e 100644 --- a/data/js/mouse.js +++ b/data/js/mouse.js @@ -17,6 +17,7 @@ var Loco = { Dir: LOCO_DIR.FORWARD, Scale: 1, // Example real loco speed is 45Kmh/max, so what are step (128 for digital to represent 0-200Kmh) per Kmh MaxSpeed: 100, // Max speed in DCC step (<129) to reach scale speed (e.g. 45Kmh) + TotalDist: 0, // Total distance traveled in kilometers (scaled) setMode: function(mode) { this.Mode = mode; }, diff --git a/data/mouse.html b/data/mouse.html index f014f09..4703e67 100644 --- a/data/mouse.html +++ b/data/mouse.html @@ -32,6 +32,9 @@