JoyStick: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 49: Line 49:


===Usage===
===Usage===
'''Example PCL code you can program a handle to send a marker:'''
#handle:
output_port OutputPort = output_port_manager.get_port( 1 );
'''Example to send a marker:'''
OutputPort.send_code(100); #create a marker


==== Python ====
==== Python ====
Line 67: Line 74:
  time.sleep(1)
  time.sleep(1)
</syntaxhighlight>
</syntaxhighlight>


== Logitech Attack 3 ==
== Logitech Attack 3 ==