fix rift setting, fix keyboard input in windows  (autorepeat)