![]() |
Rotary encoder for navigating through menu - Printable Version +- BlueWave Studio forum (https://bluewavestudio.io/community) +-- Forum: Hardware for head-unit (https://bluewavestudio.io/community/forum-87.html) +--- Forum: Other Hardware (https://bluewavestudio.io/community/forum-92.html) +--- Thread: Rotary encoder for navigating through menu (/thread-2222.html) Pages:
1
2
|
Rotary encoder for navigating through menu - marcb4 - 11-25-2020 Hi! I just upgraded my OAP with 2 rotary encoders, one for volume control and one for media control and everything is working as expected and I wanted to use another rotary encoder to navigate around the menu. Kind of like the BMW knob that you support but I can't manage to get it to work. "Enter" or "Ent" is not recognized as KeyPress (kinda makes sense because its not a button like V or N or whatever). Also 1 and 2 somehow won't work. Am I doing something wrong or are these buttons not supported? Could you help me out? I tested it with these different configs: I only post one so there is no wall of text and of course I didn't put any "/" in the real .ini file. I just use them to illustrate which values I tried it with
Volume and media knobs are working fine and it's an amazing feature!! RE: Rotary encoder for navigating through menu - BlueWave - 11-26-2020 In X11 Enter key is named Return.
If you are testing Controller Service via SSH, you have to use the DISPLAY prefix to point which display should receive key strokes, e.g. Quote:DISPLAY=:0 controller_service /home/pi/.openauto/config/openauto_controller_service.ini Also please remember that in config file you have to provide GPIO number, not the Raspberry PI pin number. We tested above config in our reference setup (we used different pin numbers) and everything works as expected. RE: Rotary encoder for navigating through menu - marcb4 - 11-26-2020 (11-26-2020, 07:38 AM)BlueWave Wrote: In X11 Enter key is named Return. It's working! Thank you! RE: Rotary encoder for navigating through menu - lemuertdmamt - 02-08-2021 (11-25-2020, 11:37 PM)marcb4 Wrote: Hi! Hi, can you kindly explain how to setup more than one rotary encoder? Is it possible to use gpio and rotary encoder input? Thanks RE: Rotary encoder for navigating through menu - BlueWave - 02-08-2021 Please have a look here https://bluewavestudio.io/community/showthread.php?tid=2208 RE: Rotary encoder for navigating through menu - lemuertdmamt - 02-09-2021 Thanks for the answer. I have already read this thread but it's not really clear to me. I understand that 2 different types of systems can’t be used together but more than one of the same type yes. Right? If yes, can you make me a code example to setup 2 rotary encoders together? It would be helpful to me to understand how to do it. Thanks in advance RE: Rotary encoder for navigating through menu - BlueWave - 02-09-2021 You just need to run two instances of controller_service. RE: Rotary encoder for navigating through menu - Kruss - 02-20-2021 Hi sorry but for IT dont Work. What you mean with two instances? ....contr.. Service...1. Ini and ....contr.. Service...2. Ini and so on? Please give me an example. I want to use 2 encoder too. Thanks RE: Rotary encoder for navigating through menu - BlueWave - 02-20-2021 Everything is described in this thread https://bluewavestudio.io/community/showthread.php?tid=2208. Use /etc/xdg/lxsession/LXDE-pi/autostart file to run another instance of controller_service. RE: Rotary encoder for navigating through menu - Kruss - 02-20-2021 I read it more Times. But i dont understand it. Please give me a Tip. Did i have to create more Controller. Inis? Sorry |