[PATCH v2 2/5] server: Update shared input keystate in assign_thread_input.