Hardware Buttons - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2) +--- Thread: Hardware Buttons (/showthread.php?tid=2166) |
Hardware Buttons - SailorMacSailface - 2019-12-24 Hello! I am in the process in building a small control unit with an integrated monitor. To be used outside in the cockpit. Since I do not like to use touchscreens on a boat, I want to use multiple physical buttons for the the basic functions. Did anyone here already build something along these lines? Thanks and a wonderful holiday time! RE: Hardware Buttons - glowntiger - 2019-12-27 Hi, yes. I have done this with a keypad like this: https://www.ebay.de/itm/3x4-Matrix-Extension-Keyboard-12-Key-Membrane-Switch-Keypad-Keyboard/151950277779?hash=item2360f13c93:g:YVoAAOSwjMtcSb0P Here you find uinput: https://github.com/tuomasjjrasanen/python-uinput to emulate key´s via GPIO. Attached the Code for a pi... RE: Hardware Buttons - SailorMacSailface - 2019-12-27 Great Thank you. I will do research. Seeing your picture: How did you configure OpenCPN UI to look so clean with the buttons all nicely in the top? Thanks! RE: Hardware Buttons - glowntiger - 2019-12-27 You can swipe the button bar to the top? Or what do you mean? The clear uI you can handle with the resolution of the pi... RE: Hardware Buttons - SailorMacSailface - 2019-12-29 (2019-12-27, 05:35 PM)glowntiger Wrote: You can swipe the button bar to the top? Or what do you mean? The clear uI you can handle with the resolution of the pi... I meant the translucent icons on top of the map. My menu is opaque. Havent found a setting to change it yet. RE: Hardware Buttons - glowntiger - 2020-01-01 What ocpn Version do you use? RE: Hardware Buttons - SailorMacSailface - 2020-01-02 Hello and a good new year to you. I am using version 5.0.0 of OpenCPN with the OpenPlotter 2 beta. On my non raspbi computer ( MacOS ) I use 5.0.1 RE: Hardware Buttons - SailorMacSailface - 2020-03-09 Hello, now that i am getin back to finisheing the configuration of my system I was wondering again how to get the buttons to be translucent. |