firmware icon indicating copy to clipboard operation
firmware copied to clipboard

HID Turkish keyboard layout

Open s8ns6n opened this issue 11 months ago • 4 comments

When using HID keyboard features such as badusb some characters get corrupted "." turns to "ç" and other letter are changing to Turkish letters (ğ,ü,i,ş,ç,ö)

Try an badusb script that has dots and slashes

  • Device used: Lilygo T-Embed CC1101 Plus

Expected: script should run perfectly

Actual: some symbols are turning into Turkısh letters

US layout : 0x37 --> "." 0x38 -->"/" Turkısh Q: 0x37 --> "ç" 0x38 --> "." thats the problem

s8ns6n avatar Dec 23 '25 18:12 s8ns6n

What is the keyboard, region that your computer keyboard is configured?

What kb choice are you using on the badUsb function?

bmorcelli avatar Dec 23 '25 19:12 bmorcelli

My pc is configured to TR keyboard layout. I tried with tr layout and its not working properly as I mentioned

SWZ70 avatar Dec 24 '25 04:12 SWZ70

I have added this layout some time ago, but a turkish dev (dont remember who) said that turkish keyboards usually are the same US-Intl keyboard, and kept it this way

@emericklaw I saw you commented on the other issue (duplicated), and this week I was thinking on these many layouts hardcoded... I was thinking if it wouldn't be better having these layouts saved on external files for all different languages.. and we add an option to download the keyboard layouts within bruce. with it people would be able to change the conflicting characters on their own if needed (here in Brazil usually uses ABNT2 keyboard, and some laptop keyboards, even configured with ABNT2 have different key outputs), so one could just change these files as needed

bmorcelli avatar Jan 05 '26 11:01 bmorcelli

https://github.com/BruceDevices/firmware/issues/1542

bmorcelli avatar Jan 05 '26 11:01 bmorcelli