fix XInput performance bug
more XI/DI tweaking
Merge pull request #291 from pinumbernumber/xinput-perf-fix

Quick Xinput performance fix