Added cvar for dinput (since leaving it enabled would stop the keyboard working).
Fixed latency. Will have to do a proper fix later.