input extended to accept xbox 360 control
loop with times for update and sleep