$(".up-button").mousedown(function(){
  $.get("/movecam/moveUp");
}).mouseup(function(){
  $.get("/movecam/moveStop");
});

$(".left-button").mousedown(function(){
  $.get("/movecam/moveLeft");
}).mouseup(function(){
  $.get("/movecam/moveStop");
});

$(".right-button").mousedown(function(){
  $.get("/movecam/moveRight");
}).mouseup(function(){
  $.get("/movecam/moveStop");
});

$(".down-button").mousedown(function(){
  $.get("/movecam/moveDown");
}).mouseup(function(){
  $.get("/movecam/moveStop");
});

$(".zoom-tele").mousedown(function(){
  $.get("/movecam/zoomTeleStd");
}).mouseup(function(){
  $.get("/movecam/zoomStop");
});

$(".zoom-wide").mousedown(function(){
  $.get("/movecam/zoomWideStd");
}).mouseup(function(){
  $.get("/movecam/zoomStop");
});

$(".up-button").bind("mousedown touchstart", function(){
  $.get("/movecam/moveUp");
}).bind("mouseup touchend", function(){
  $.get("/movecam/moveStop");
});

$(".left-button").bind("mousedown touchstart", function(){
  $.get("/movecam/moveLeft");
}).bind("mouseup touchend", function(){
  $.get("/movecam/moveStop");
});

$(".right-button").bind("mousedown touchstart", function(){
  $.get("/movecam/moveRight");
}).bind("mouseup touchend", function(){
  $.get("/movecam/moveStop");
});

$(".down-button").bind("mousedown touchstart", function(){
  $.get("/movecam/moveDown");
}).bind("mouseup touchend", function(){
  $.get("/movecam/moveStop");
});

$(".zoom-tele").bind("mousedown touchstart", function(){
  $.get("/movecam/zoomTeleStd");
}).bind("mouseup touchend", function(){
  $.get("/movecam/zoomStop");
});

$(".zoom-wide").bind("mousedown touchstart", function(){
  $.get("/movecam/zoomWideStd");
}).bind("mouseup touchend", function(){
  $.get("/movecam/zoomStop");
});

Enable touch use with jQuery element.
Enable touch use with jQuery element.
