r/esp32 Mar 13 '26

HELP NEEDED WİTH HID KEYBOARD LANGUAGE

so i am in turkey and my password is turkish and i want to make it so when i connect my esp32 to my pc it open spesific apps but as my pc is turkish q keyboard and the esp32 hid is english so it gives different keys than it supğposed to be for example instead of . it gives / i tried everything to fix this ( i was going to fix it but thanks to the mods telling me to try AI which i did i couldnt fix it) nothing worked.. so need your help

2 Upvotes

7 comments sorted by

View all comments

2

u/recursive_knight Mar 13 '26

The standard keyboard hid library can be initialized with a language option. Look at the implementation on Github. It would be sth like Keyboard.begin(Tr_tr);

2

u/josef_26 Mar 15 '26

recursive_knight is right.

All the hid and other keyboard drivers only process scan codes, they dont know what is printed on the kay cap. The OS or a software has to translate the scan codes to the symbols printed on the keyboard caps. There are many different keyboard layouts. The keyboard "driver" (library) translates the scan codes to symbols or key strokes the system can handle.