AZERTY support for BADUSB

Hi,
i wonder if there is another solution to add another keyboard language for the badusb.
i tried applying this patch to the latest firmware https://github.com/Log-s/flipperzero-contributions
but i cant build it if i replace the original file with this patched file. Yeah i know i can flash that one but i think it’s outdated. So i want a way i can apply this patch to every firmware i want.
Anyone who has a solution?


that’s the error i get when i replace the furi_hal_usb_hid.h

8 Likes

I hope you will find the solution; I am trying to figure out how to use a QUERTZ layout.

2 Likes

Same issue, impossible tu use this function in France.
We need the possibility to choose a keyboard (qwerty, azerty, and maybe others)

6 Likes

Yup same here, thanks for trying!

Hello guys ! yes, it is a real showstopper in the usage of the bad USB feature. Even if the workaround is to translate the script it is not really confortable. I hope it will be fixed :slight_smile:

Just use something like this: https://flippermaker.github.io/
(the “String to Alt Code” part) - and replace all your strings with corresponding alt codes. I’ve tested on non-QWERTY layouts, it works just fine!

example; instead of doing
STRING cmd
ENTER

do
ALTCHAR 099
ALTCHAR 0109
ALTCHAR 0100
ENTER
:slight_smile:

Hi,
I created a PR with update to the file furi_hal_usb_hid.h so it can compile with the latest firmware.
I’m also trying to figure out how to create a menu to switch from QWERTY to AZERTY but my skills are pretty limited, any help is welcome :wink:

The fork can be found here:

I’ll update the link when (or if) the PR is merged:

1 Like

It works, but its much much slower because it writes every single character one by one.
Also if you want to change some code you have to convert it every time :slight_smile: kinda anoying but still the best solution so far :wink: thx

Hi,
just replace STRING with ALTSTRING and type your code normally.

1 Like

i thought that was windows only
trying to make a string that types a pipe character on a linux system with a uk keyboard layout