hi !
I use a logitech K400 wireless azerty keyboard with RR, but it was recognized as qwerty, i try some apps from google play but nothing works.
I found this solution and it works well.
- open ES file explorer, extract it
- mount R/W your system
- copy Generic.kl in the folder /system/usr/keylayout/
- copy Generic.kcm in the folder /system/usr/keychars/
- reboot
mapping is not exacly the same for alt gr options but that's better for letters I will take a look to enhance those files for my keyboard