I’ve tried to map my RPI Zero HID-Gadget in a sh file, here is my sh file. I tried to exchange a normal german keyboard by swapping kbcodes from us-keyboard to german-keyboard layout, but if it is the right attempt, i can't swap the <>|key because in german keyboard layout we have one key for <>| this, this key is between shift and y, and this key not existing on a us keyboard.
How can i add this key into the c file?
Or is there a better way to make it working on a german keyboard, I would like to know it
Or can i get any resources that help me?
Thanks in advance.
My duckpi_german_layout.sh file looks so:
elif [ "$1" == "<" ] then kbcode='' elif [ "$1" == "|" ] then kbcode='' elif [ "$1" == "," ] #Comma then #Works kbcode='comma' #
and I don't know what i should write into kbcode='' by <, > and |.
If i write
'kbcode='right-alt <' to output that | I get
unknown option: <
OS = Stretch (9)
Kernel = 4.19.50+
I don't will connect any keyboard to my rpi. I will connect my rpi to a computer and there it should write this what I write in a txt file my project