I am building up media board with a raspi controlled by a EN16. As a player software I use MPV.
MPV can increase/decrease the video speed by the key bindings [ and ] which I want to send by rotating an encoder left/right. Everything works well but I do not manage to send [ and ] in the german keyboard layout. The key combination would be R ALT + 8 and R ALT + 9, which does not work. I can send 8 and 9 by rotating without a problem, but the R ALT does not get sent (?) properly.
It would be helpful if the brackets ()[]{} would be added to the selectable keystrokes in the german keyboard layout.
Sending [ and ] as keystroke with an EN16 encoder
Replies (7)
How are you sending the key combo? Do other combinations work?
This is the codeblock for changing the video speed. I use the rotate left/right function of the encoder. Rotating left should send [ which does not work. On the german keyboard layout [ is invoked by AltGr + 8. Sending [ by hitting AltGr + 8 works well from a regular german keyboard.
This is the code for changing the video zoom. It sends the key combination ALT + - which works perfectly. Any ideas what makes the difference?
Yeah, AFAIR, alt and altgr are the same in some layouts (US, for example), it might be sending the same for both R Alt and L Alt
In gernam keyboard layout Alt and AltGr seem to be different. Here you need AltGr to type @€[]{} and other characters. As a workaround I could switch the Raspi to english keyboard layout and use the english layout instead.
Right Alt seems to be handled incorrectly in the firmware
WHat os are you using?
View on Discord
This post is from the Intech Studio Discord community.

