Thanks Thanks:  0
Ergebnis 1 bis 2 von 2
  1. #1
    Anfänger
    Registriert seit
    21.06.2015
    Beiträge
    2
    Thanks (gegeben)
    0
    Thanks (bekommen)
    0
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke

    How to remap KEY_SELECT to KEY_OK

    Hi,

    I have Sony TV and HDMI-CEC partially works, but I don't have OK (confirm button). To check which key the button has been mapped to, I have tried

    Code:
    init 4
    enigma2
    And when I press the desired button (the one that should work as OK) I got
    Code:
     16:00:36.6812 Screens/InfoBarGenerics.py:208 actionA  KEY: 353 0 KEY_SELECT
    And X mark on the screen.

    My question is how to change this behavior?

    •   Alt Advertising

       

  2. #2
    Avatar von arn354
    Registriert seit
    06.04.2013
    Beiträge
    3.027
    Thanks (gegeben)
    200
    Thanks (bekommen)
    1544
    Total Downloaded
    147,3 KB
    Total Downloaded
    147,3 KB
    ReceiverDanke
    you can use /usr/share/enigma2/keytranslation.xml

    enigma2/keytranslation.xml at master * openatv/enigma2 * GitHub

    Here is the commit with some more information what you need to do - actionmap: Implement key translations - thx mirakels (openPli) * openatv/enigma2@d6ac9b3 * GitHub

    1.) You need to find out your device name (DEVICENAME)
    i added a commit that you can find devicename in E2-Log - rc.cpp - add devicename to logging output * openatv/enigma2@cfc0533 * GitHub
    check once your image/updates are build tomorrow. You should find a log entry like this:
    [eRCInputEventDriver] devicename=gigablue remote control

    2.) then add a new tag device like this to keytranslation.xml replacing DEVICENAME with your real devicename taken from E2 log:
    Code:
                  <device name="DEVICENAME">
                          <key from="KEY_SELECT" to="KEY_OK"/>
                  </device>
    Grüßle



Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:46 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,88%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com