Choppy keyboard input with SDL?

I am having some serious delay times with SDL and keyboard inputs. I have NO
delays with DXinput and win32.

I am on Vista if that matters.

If you press S and then press W you will get a delay and you can forget
about pressing both at the same time. With DXinput I can press both and
works fine.

Thanks

I am having some serious delay times with SDL and keyboard inputs. I have NO
delays with DXinput and win32.

I am on Vista if that matters.

I haven’t seen this in my vista testing. Can anyone else reproduce this?

Is it due to low framerate? I know that Vista doesn’t include accelerated
OpenGL by default…

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment

I found that if I changed the

SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
delay parameter to 100, this solved the issue.