Added XInput support.