A few questions (screen + keyboard)

SDL 1.2.6, Windows

I want to open fullscreen mode with refresh rate exact like desktop refresh
rate. But every time I try, I get 60Hz (desktop i set to 85Hz).

I heard that you can’t use more than 16bpp. Is it true?

How can I use keyboard exacly like in dos (repeating key events while
holding key). Does SDL_EnableKeyRepeat()work? I didn’t notice any effect
using it.

Archibald

I want to open fullscreen mode with refresh rate exact like desktop
refresh
rate. But every time I try, I get 60Hz (desktop i set to 85Hz).

I don’t think SDL has the capability to specify the refresh rate, if having
the same rate is really important to you you may have to add a few directx
calls in a #ifdef to your code.

I heard that you can’t use more than 16bpp. Is it true?

SDL will let you have 24 and 32 bpp modes.

How can I use keyboard exacly like in dos (repeating key events while
holding key). Does SDL_EnableKeyRepeat()work? I didn’t notice any effect
using it.

SDL_EnableKeyRepeat does work, but I beleive it only affects key press
events (not sure if you are using those or using SDL_GetKeyState). However
most people here agree that key repeats should only be used to handle text
input in a SDL app.