I needed a way to type my computer from my phone, acting as a keyboard. But I cannot add software to my computer, so I needed to be a USB-HID device. I asked Gemini for help, and he produced this code, first for US EN keyboard, but then I addapted it for Belgian French.
For the Belgian French keyboard, I went to Neradoc repo, but Î could only find French keyboard: https://github.com/Neradoc/Circuitpython_Keyboard_Layouts
So Î went to his page: https://www.neradoc.me/layouts/ Gave it the Belgian French keyboar page: https://kbdlayout.info/kbdbe And it generated for me the needed Python file
The trick is then to use the application "Bluefruit Connect", use the UART mode, type your text and send. This will be send to your computer as keystroke.
Works for me
It seems that there are plenty of application that turn your (android) phone into a BLE keyboard+mouse.
So going the USB-HID was overkill.