[PATCH 1/7] server: Expose the thread input keystate through shared memory.