output_time - Get output elapsed time
uint32 output_time();
Get the elapsed time as the number of milli-seconds since the last output data packet was sent.
This time information can help synchronize inputs, combos and macros with the game frame rate. |
Returns the number of milli-seconds that has being passed since the last output data packet was sent.
main { if(get_val(BUTTON_2)) { if(output_time() == 0) { macro_run("Example.gmk"); } } }