xorg picks those value and let me type in azerty, but when using unity8/mir the layout is qwerty. Out of respecting the default system value the server also needs to provide an API for clients to get/change the active layout since that's something quite some user need (especially when dealing with input methods)
Using the real keyboard with a different layout, I've an azerty keyboard on my laptop and /etc/default/ keyboard contains
"XKBMODEL="pc105"
XKBLAYOUT="fr"
XKBVARIANT="oss"
XKBOPTIONS="""
xorg picks those value and let me type in azerty, but when using unity8/mir the layout is qwerty. Out of respecting the default system value the server also needs to provide an API for clients to get/change the active layout since that's something quite some user need (especially when dealing with input methods)