HotKey map to Exit/Cancel function
HotKey map to Exit/Cancel function
Hello,
I'd like to map config.misc.ButtonSetup.previous to function with Exit/Cancel.
I am not sure what value to set in /etc/enigma2/settings for that to work.
Could anyone help with that?
Regards.
I'd like to map config.misc.ButtonSetup.previous to function with Exit/Cancel.
I am not sure what value to set in /etc/enigma2/settings for that to work.
Could anyone help with that?
Regards.
Alright..
Is there any other way I can remap the "Previous" key to cancel or exit function?
Even if it is just on my box?
I ask this because I am using the LG AN-MR19BA Remote to control everything (TV, AV Receiver and Box). And it just has one key to go back, cancel or exit menus.
This button is, wrongly or not, mapped to "Previous" in VU+ receivers. In oATV it opens "History Zap.."
If I was able to remap this, even it if is hardcoded, I could use it as a control-everything solution.
Any tips?
Is there any other way I can remap the "Previous" key to cancel or exit function?
Even if it is just on my box?
I ask this because I am using the LG AN-MR19BA Remote to control everything (TV, AV Receiver and Box). And it just has one key to go back, cancel or exit menus.
This button is, wrongly or not, mapped to "Previous" in VU+ receivers. In oATV it opens "History Zap.."
If I was able to remap this, even it if is hardcoded, I could use it as a control-everything solution.
Any tips?
-
- Member
- Beiträge: 711
- Registriert: 31 Jan 2017 15:27
- Hat gedankt: 26 Mal
- Hat Dank erhalten: 278 Mal
there is an example in /usr/share/enigma2/keymap.xml
Code: Alles auswählen
<translate>
<device name="gigablue remote control">
<key from="KEY_OPTION" to="KEY_HELP" />
<key from="KEY_F2" to="KEY_SCREEN" />
</device>
</translate>
Just for someone who comes later looking for this...
I ended up not needing to install evtest.
I watched enigma2 log, and captures both LG and VU+ rcu keystrokes which showed me what I should use: KEY_PREVIOUS and KEY_EXIT.
It was as easy as adding a line to "/usr/share/enigma2/keytranslation.xml"
Found this thread which helped: https://www.opena.tv/viewtopic.php?t=35734
Thanks all.
I ended up not needing to install evtest.
I watched enigma2 log, and captures both LG and VU+ rcu keystrokes which showed me what I should use: KEY_PREVIOUS and KEY_EXIT.
It was as easy as adding a line to "/usr/share/enigma2/keytranslation.xml"
Code: Alles auswählen
<device name="dreambox advanced remote control (native)">
<key from="KEY_PREVIOUS" to="KEY_EXIT"/> <!-- LG AN-MR19BA RCU Return Key Fix - will break Vu+ RCU Left Arrow though -->
</device>
Found this thread which helped: https://www.opena.tv/viewtopic.php?t=35734
Thanks all.
-
- Beginners
- Beiträge: 2
- Registriert: 27 Apr 2024 22:18
Now it doesn't work. Keytranslation was removed with OpenATV 7.3.
https://www.opena.tv/viewtopic.php?p=553150#p553150
[keytranslation.xml] . openatv/enigma2@85955f5 . GitHub
Do you have other solution how to replace keys?
I've got LG OLED C3 and want to use HDMI-CEC, but instead KEY_EXIT my TV sends KEY_PREVIOUS.
https://www.opena.tv/viewtopic.php?p=553150#p553150
[keytranslation.xml] . openatv/enigma2@85955f5 . GitHub
Do you have other solution how to replace keys?
I've got LG OLED C3 and want to use HDMI-CEC, but instead KEY_EXIT my TV sends KEY_PREVIOUS.
- s3n0
- Senior member
- Beiträge: 1583
- Registriert: 02 Jan 2017 14:38
- Receiver 1: Vu+ Zero 4K
- Receiver 2: Vu+ Solo SE V2
- Hat gedankt: 108 Mal
- Hat Dank erhalten: 417 Mal
- Kontaktdaten:
I don't know exactly what it is... but it is also possible to change the function of the RCU buttons directly in the OpenATV code. This can be done in the corresponding XML file. But I don't know exactly in which file. I don't want to look for it... sorry.
Of course, you have to keep the edited file on your PC for safety or make a backup copy somewhere on the set-top box disk. And you should also watch out for Enigma2 updates, because some updates might change/update that particular XML file again, and you then have to manually patch the file again.
Have you also tried the standard button mapping in OpenATV - via the GUI MENU ? There is also the possibility to map some RCU keys to functions other than those for which they are intended. This could also work great in many cases.
------------------------
So far I have only found this information. It says that even though "keytranslation.xml" has been removed, it should work directly through rcinput:
[keytranslation] by jbleyel . Pull Request #3203 . openatv/enigma2 . GitHub
But I don't know how exactly. Try to research further yourself or wait for a response from the developers of OpenATV.
Of course, you have to keep the edited file on your PC for safety or make a backup copy somewhere on the set-top box disk. And you should also watch out for Enigma2 updates, because some updates might change/update that particular XML file again, and you then have to manually patch the file again.
Have you also tried the standard button mapping in OpenATV - via the GUI MENU ? There is also the possibility to map some RCU keys to functions other than those for which they are intended. This could also work great in many cases.
------------------------
So far I have only found this information. It says that even though "keytranslation.xml" has been removed, it should work directly through rcinput:
[keytranslation] by jbleyel . Pull Request #3203 . openatv/enigma2 . GitHub
But I don't know how exactly. Try to research further yourself or wait for a response from the developers of OpenATV.
-
- Beginners
- Beiträge: 2
- Registriert: 27 Apr 2024 22:18
Problem solved with commit 0f4cbf5
[ActionMap] . openatv/enigma2@0f4cbf5 . GitHub
And now instead file "/usr/share/enigma2/keytranslation.xml" you have to use "/usr/share/enigma2/keymap_usermod.xml" (with the same content). Example:
[ActionMap] . openatv/enigma2@0f4cbf5 . GitHub
And now instead file "/usr/share/enigma2/keytranslation.xml" you have to use "/usr/share/enigma2/keymap_usermod.xml" (with the same content). Example:
Code: Alles auswählen
<keymap>
<translate>
<device name="dreambox advanced remote control (native)">
<!-- LG WebOS Magic Remote to VU+ -->
<key from="KEY_PREVIOUS" to="KEY_EXIT"/>
</device>
</translate>
</keymap>
- Papi2000
- Super Moderator
- Beiträge: 25937
- Registriert: 20 Apr 2013 20:09
- Receiver 1: Viele GigaBlues
- Receiver 2: DM und ZGemma
- Receiver 3: bissl VU
- Hat gedankt: 4497 Mal
- Hat Dank erhalten: 8315 Mal
THe problem was, that an older functional solution was removed without sense.
That is another case of the code war, that takes place in lighten the image and removing things, that are not understood.
Now with that commit a new solution was implemented, to get that feature back again.
Thanks for testing.
That is another case of the code war, that takes place in lighten the image and removing things, that are not understood.
Now with that commit a new solution was implemented, to get that feature back again.
Thanks for testing.