Issues with keyboard overlays

I finally got some retro computers loading correctly in mame but Im having other issues and they appear to be related to the available keyboard overlays. the US-101 keyboard the retroarch menu button doesnt seem to respond as far as I can tell the other ones do, granted I have not tested the F keys. The qwerty and modular-keyboard smalls overlay seem to be bunched up at the bottom of my screen, Im assuming I can edit the cfg to address that but was wondering if there is any guides on it.

Also may be a dumb question for the keyboard overlays with the controller shaped button, what is it supposed to do?

I made those overlays a long time ago, and some of the intended functionality never got implemented, IIRC.

You can edit them using the information here: https://docs.libretro.com/specs/overlay/