Copied Multi Thread to XInputGetStateEx