adafruit / Adafruit_CircuitPython_HID

USB Human Interface Device drivers.
MIT License
364 stars 106 forks source link

I Need Help With Swedish Layout #78

Closed XoidPLays closed 2 years ago

XoidPLays commented 2 years ago

Hi im trying to get this Payload working but i cant get this symbol () on the Swedish keyboard To work and i can't do this string (STRING %USERPROFILE%\hotdog.jpg) i have come up with a seclusion but i still cant get this \

Neradoc commented 2 years ago

It looks like \ is altgr-+ on a (windows) swedish keyboard, and + matches the position of the - key on a US, so you can send it with keyboard.send(Keycode.RIGHT_ALT, Keycode.MINUS) if I got that right. You would need to create a swedish keyboard_layout_swe.py version of the layout class to be able to write() it directly.

Note, this might be more a support question, they are better asked on discord if you can (#help-with-circuitpython) or the adafruit forums.

XoidPLays commented 2 years ago

Thx For Your Answer @Neradoc Im not that good with python [...] and do u have a discord i can dm u on? github is a bit confusing sometimes Here is my discord (𝓧𝓸𝓲𝓭 π“Ÿπ“΅π“ͺ𝔂𝓼 𝓨𝓣#9884)

Neradoc commented 2 years ago

Come to the Adafruit discord server, many people can help there. https://adafru.it/discord

XoidPLays commented 2 years ago

i joined i just dont know what to start with. im rly new to this stuff

dhalbert commented 2 years ago

Followed up in discord, so closing here.