Dima73 / enigma2-plugin-extensions-historyzapselector

Advanced history zap selector
5 stars 1 forks source link

Add Option to Assign Back Button for Zap History #7

Open Marcus051333 opened 2 months ago

Marcus051333 commented 2 months ago

Recently, there was a discussion on the OPli plugin's forum regarding the default hotkeys for zap history, which are currently set to < >. However, on Zgemma devices, the back button isn't assigned to any function by default. It would be helpful if an option could be added to assign the back button to this feature. A user on the forum provided an improved code suggestion: HistoryZapSelectorKeys = [ ["none", _("standard < >"), ["KEY_RESERVED", "KEYRESERVED"]], ["LeftRight", ("only LEFT/RIGHT"), ["KEY_LEFT", "KEYRIGHT"]], ["TextHelp", ("only TEXT/HELP"), ["KEY_TEXT", "KEY_HELP"]],

["Bouquet", _("only CH+/-,B+/-,P+/-"), ["KEY_CHANNELUP", "KEY_CHANNELDOWN"]],

["Bouquet", _("only CH-,B-,P-"), **["KEY_BACK"]],

]** The bolded part represents the modification, which adds support for the back button.

Dima73 commented 2 months ago

done