I'm currently trying to support virtual key codes in a program.
Due to the initial design, unfortunately the input keys are only available as scancodes.
(unfortunately also the Extended-Key flag which might be useful here isn't available)
It seems to work fine to use MapVirtualKeyA(any_scancode, MapVirtualKeyA), execept for Numpad key. Numpad numeric scan codes are translated to the virtual navigation codes (HOME, INSERT , etc, ), I know they share the same key location which can be toggled in the system with the numlock, but is it possible to get it translated to the virtual numpad numeric key code?