optimize code for joypad turbo key function, removing thread, using run joypad_run in emulator thread instead.