When I used DIPROPSTRING from DirectInput to get the key name it returned localized keyname.
For example, I switch to Russian keyboard layout and press “D”, DirectInput returns Russian “В” instead of English “D”. It does the same for other layouts (returns current layout translated key name)
I need this, because halfly translated buttons looks awful.
P.S. Another name for possible function would be SDL_GetTranslatedKeyName.