mharjac / bad_ducky

Rubber Ducky compatible clone based on CJMCU BadUSB HW.
MIT License
280 stars 79 forks source link

How to make keymap files #3

Closed florisvdk closed 6 years ago

florisvdk commented 6 years ago

Hi, What format do the keymap fiels use?

mharjac commented 6 years ago

In short, it's a binary file. First byte is character value in English keyboard layout, second is modifier (shift, alt etc.) and the third one is targeted layout value. Let's take "@" character for example. In English layout character is represented by value 0x40. In Croatian layout you have to press right alt (0x86) and "v" (0x76). I'm going to write a tutorial how to create keymap files.

mharjac commented 6 years ago

I've added how to create keymap files to the wiki. I hope this will be helpful to you...

florisvdk commented 6 years ago

Yes, Thank you so much. When i finish mine for Belgian layout i will make a pull request.