(iOS Thread) Sync input data between main and retroarch thread