SDL 1.3 page up and page down

The scancode SDL_SCANCODE_PAGEUP and SDL_SCANCODE_PAGEDOWN in windows under SDL 1.3 always generate SDL_SCANCODE_KP_9 and SDL_SCANCODE_KP_3. The code in RemapVKEY in SDL_win32events.c has the following section “Keypad keys are a little trickier, we always scan for them.” but in this case I don’t think we can scan for them since the USB keyboard spec says that the keypad keys can overlay these keys.

Also it’s not only page up and page down. Insert, Home, End, Left, Right, Up, Down all generate keypad keys.

I’m not sure how to fix this. These keys worked correctly in SDL 1.2

mike