How do you change keyboard layout of DOSBox? ( Libretro of course )

I have an AZERTY keyboard and for some reason when I type stuff it outputs QWERTY characters?! How do I go about fixing this?

Is it ingame or in Dos cmd screen?