Adjusting keys on each keyboard layout

i would like to get the key depending on the keyboard layout,
by that i mean

lets say we need to press Q to interact with stuff

roblox is automatically set to QWERTY
imagine you are in an AZERTY keyboard

you will try to press Q but nothing happens…then you realize that you need to press A instead

is there a way to get the good key?

1 Like

You can use UIS:GetStringForKeyCode(keycode) and that’ll return the key that is associated with different layouts. The keycode is in terms of the QWERTY layout.

Here, read more: UserInputService | Documentation - Roblox Creator Hub

1 Like