View Single Post
  #1  
Old 02-19-2015, 10:35 AM
JB_HP_Viz JB_HP_Viz is offline
Member
 
Join Date: Jun 2014
Posts: 31
How to map HTML button to Transport in Vizconnect

I’ve setup an HTML page with a button on it using vizhtml

<input id='forward' type=button value="Forward">

And when that button is clicked it sends a message to Vizard

$("#forward").click(function() {
socket.send( 'forward' , viz.Data({}) );
});

Is there a way to map this HTML button to the Driving Transport in the vizconnect configuration file instead of mapping an input device like a keyboard or Joystick to the Driving Transport?

Attached JPEG shows mapping Keyboard keys to Driving Transport, I would like to be able to map an HTML button. Is there a way to setup a Driving Transport and then map HTML button in the code?


Thank you

John
Attached Thumbnails
Click image for larger version

Name:	transport_drving_keyboardmap.jpg
Views:	1066
Size:	39.0 KB
ID:	680  
Reply With Quote