This python API can send keystrokes into device where is Raspberry PI Zero W connected. You don't need to find keystrokes by yourself!
- Win10
- Win11
- EN ('en')
- SK ('sk')
- a-z
- A-Z
- 0-9 (Configure keyboard-layout to correct use)
- .*-=/+
- Set-up your Raspberry PI Zero W as USB HID device NOTE: Make sure that /dev/hidg0 file exists
- Copy & Paste api.py into your project folder
Setting keyboard-layout
import api
api.lang = "sk"
api.lang = "en"Shutting down system
import api
api.shutDown()Writing text
import api
api.writeText("Your text will be sent into device!")import api
api.shortcut("ctrl", "a")For more methods, look into api.py!
