xmoto updated with callback for capture