Only getting SDLK_UNKNOWN in key.keysym.sym

Evening everybody.
I just started using SDL as the base for my current project. So far, I have
to say I really like it. The API is very well designed.
Ok, that’s my intro. My problem is when I get a key event, the sym field is
always set to SDLK_UNKNOWN.
I’m running CodeWarrior 5.2 on Windows 2000. I’m using the standard Win32
binaries and libs: I tried to recompile in CW, but couldn’t get one of the
headers to work. It hasn’t caused any problems so far: cdrom, video, and
windows management works fine, as well as all the other events, just not
this one.
Can anyone give me a hand with this?

Scott Rutledge