[PATCH] xinput: Implement XInputGetKeystroke