@santa
Da du eine universale keymap erstellt hast bzw. noch weiter an dieser arbeitest und man dadurch nicht mehr seine alte keymap benutzen sollte, habe ich die neue keymap aus HDMU 12176 enigma2 Git 5755 für meine Golden Media Boxen (Triplex, GM990) die hier im Umlauf sind etwas angepasst. Eventuell baust du davon etwas ein.
Zeile 13 bis 14 vorher
nachher, auskommentiert da sonst der Bouquetwechsel nicht funktioniertCode:<key id="KEY_LEFT" mapto="pageUp" flags="mr" /> <key id="KEY_RIGHT" mapto="pageDown" flags="mr" />
Zeile 144 bis 149 vorherCode:<!-- <key id="KEY_LEFT" mapto="pageUp" flags="mr" /> <key id="KEY_RIGHT" mapto="pageDown" flags="mr" /> -->
nachher, Key_OPEN funktioniert noch nicht obwohl die Triplex die Taste erkennt (Key Portal 0xa25dda25). In der InfobarGeneric sind die entsprechenden Einträge vorhanden. Funktioniert jetzt und ist somit obsolet.Code:<device name="HDMU RC SPARK"> <key id="KEY_LEFT" mapto="zapUp" flags="mr" /> <key id="KEY_RIGHT" mapto="zapDown" flags="mr" /> <key id="KEY_UP" mapto="switchChannelUp" flags="mr" /> <key id="KEY_DOWN" mapto="switchChannelDown" flags="mr" /> </device>
Zeile 265 bis 269 vorherCode:<device name="HDMU RC SPARK"> <key id="KEY_UP" mapto="zapUp" flags="mr" /> <key id="KEY_DOWN" mapto="zapDown" flags="mr" /> <key id="KEY_OK" mapto="openServiceList" flags="m" /> <!-- <key id="KEY_OPEN" mapto="openHDMUMediaCenter" flags="b" /> --> <!-- Portaltaste kurz druecken startet HDMU Mediacenter --> <key id="KEY_OPEN" mapto="openDreamPlex" flags="b" /> <!-- Portaltaste kurz druecken startet Dreamplex --> <key id="KEY_OPEN" mapto="openMediaPortal" flags="l" /> <!-- Portaltaste lange druecken startet Mediaportal --> <key id="KEY_TIME" mapto="timer" flags="b" /> <key id="KEY_TIME" mapto="sleepTimer" flags="l" /> <key id="KEY_SAT" mapto="showSatellites" flags="m" /> </device>
nachherCode:<device name="HDMU RC SPARK"> <key id="KEY_ARCHIVE" mapto="bmc" flags="m" /> <key id="KEY_TV2" mapto="toogleTvRadio" flags="m" /> <key id="KEY_V" mapto="resolution" flags="m" /> </device>
Zeile 353 bis 368 vorherCode:<device name="HDMU RC SPARK"> <key id="KEY_ARCHIVE" mapto="bmc" flags="m" /> <key id="KEY_TV2" mapto="toogleTvRadio" flags="m" /> <key id="KEY_LEFT" mapto="volumeDown" flags="mr" /> <key id="KEY_RIGHT" mapto="volumeUp" flags="mr" /> <key id="KEY_V" mapto="aspect" flags="m" /> <key id="KEY_TIME" mapto="sleepTimer" flags="m" /> <key id="KEY_BLUE" mapto="hdmucenter" flags="b" /> </device>
nachherCode:<map context="NumberActions"> <key id="KEY_1" mapto="1" flags="m" /> <key id="KEY_2" mapto="2" flags="m" /> <key id="KEY_3" mapto="3" flags="m" /> <key id="KEY_4" mapto="4" flags="m" /> <key id="KEY_5" mapto="5" flags="m" /> <key id="KEY_6" mapto="6" flags="m" /> <key id="KEY_7" mapto="7" flags="m" /> <key id="KEY_8" mapto="8" flags="m" /> <key id="KEY_9" mapto="9" flags="m" /> <key id="KEY_0" mapto="0" flags="m" /> <device name="HDMU RC IPBOX"> <!--evtl haben andere auch ne recall taste--> <key id="KEY_PREVIOUS" mapto="0" flags="m" /> </device> </map>
Zeile 406 bis 409 vorherCode:<map context="NumberActions"> <key id="KEY_1" mapto="1" flags="m" /> <key id="KEY_2" mapto="2" flags="m" /> <key id="KEY_3" mapto="3" flags="m" /> <key id="KEY_4" mapto="4" flags="m" /> <key id="KEY_5" mapto="5" flags="m" /> <key id="KEY_6" mapto="6" flags="m" /> <key id="KEY_7" mapto="7" flags="m" /> <key id="KEY_8" mapto="8" flags="m" /> <key id="KEY_9" mapto="9" flags="m" /> <key id="KEY_0" mapto="0" flags="m" /> <device name="HDMU RC SPARK"> <key id="KEY_BACK" mapto="0" flags="m" /> </device> <device name="HDMU RC IPBOX"> <!--evtl haben andere auch ne recall taste--> <key id="KEY_PREVIOUS" mapto="0" flags="m" /> </device> </map>
nachherCode:<map context="InfobarTimeshiftActions"> <key id="KEY_PAUSE" mapto="timeshiftStart" flags="m" /> <key id="KEY_STOP" mapto="timeshiftStop" flags="m" /> </map>
Zeile 461 bis 466 vorherCode:<map context="InfobarTimeshiftActions"> <device name="HDMU RC SPARK"> <key id="KEY_T" mapto="timeshiftStart" flags="m" /> </device> <key id="KEY_PAUSE" mapto="timeshiftStart" flags="m" /> <key id="KEY_STOP" mapto="timeshiftStop" flags="m" /> </map>
nachher, Teletext hat vorher nicht funktioniert, bei der gelegenheit auf F3 gesetzt, damit man die Taste auch im Dunkeln findet .Code:<map context="InfobarTeletextActions"> <key id="KEY_TEXT" mapto="startTeletext" flags="m" /> <device name="TDT SPARK"> <key id="KEY_F1" mapto="startTeletext" flags="m" /> </device> </map>
Zeile 504 bis 522 vorherCode:<map context="InfobarTeletextActions"> <key id="KEY_TEXT" mapto="startTeletext" flags="m" /> <device name="HDMU RC SPARK"> <key id="KEY_F3" mapto="startTeletext" flags="m" /> </device> </map>
nacher, damit man mittels links und rechts durch die Bouquets zappen kann, ging vorher nur mit den Spulentasten (habe ich rausgenommen). Bezieht sich auf Zeile 13 bis 14.Code:<map context="ChannelSelectBaseActions"> <key id="KEY_RED" mapto="showAllServices" flags="m" /> <key id="KEY_GREEN" mapto="showSatellites" flags="m" /> <key id="KEY_YELLOW" mapto="showProviders" flags="m" /> <key id="KEY_BLUE" mapto="showFavourites" flags="m" /> <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" /> <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" /> <key id="KEY_PAGEUP" mapto="nextBouquet" flags="m" /> <key id="KEY_PAGEDOWN" mapto="prevBouquet" flags="m" /> <!--key id="KEY_PREVIOUS" mapto="prevMarker" flags="m" /> <key id="KEY_NEXT" mapto="nextMarker" flags="m" /--> <key id="KEY_FAVORITES" mapto="showFavourites" flags="m" /> <key id="KEY_FASTFORWARD" mapto="nextBouquet" flags="m" /> <key id="KEY_REWIND" mapto="prevBouquet" flags="m" /> <device name="HDMU RC IPBOX"> <key id="KEY_BOOKMARKS" mapto="prevBouquet" flags="m" /> <key id="KEY_MEDIA" mapto="nextBouquet" flags="m" /> </device> </map>
So ich glaube das war es und ich hoffe Du kannst davon etwas gebrauchen. Für die Sat-Taste und die Sleep/Timer-Taste habe ich in der InfobarGeneric folgendes ab Zeile 524 bis 554 hinzigefügt:Code:<map context="ChannelSelectBaseActions"> <key id="KEY_RED" mapto="showAllServices" flags="m" /> <key id="KEY_GREEN" mapto="showSatellites" flags="m" /> <key id="KEY_YELLOW" mapto="showProviders" flags="m" /> <key id="KEY_BLUE" mapto="showFavourites" flags="m" /> <key id="KEY_CHANNELUP" mapto="nextBouquet" flags="m" /> <key id="KEY_CHANNELDOWN" mapto="prevBouquet" flags="m" /> <key id="KEY_PAGEUP" mapto="nextBouquet" flags="m" /> <key id="KEY_PAGEDOWN" mapto="prevBouquet" flags="m" /> <!--key id="KEY_PREVIOUS" mapto="prevMarker" flags="m" /> <key id="KEY_NEXT" mapto="nextMarker" flags="m" /--> <key id="KEY_FAVORITES" mapto="showFavourites" flags="m" /> <!-- <key id="KEY_FASTFORWARD" mapto="nextBouquet" flags="m" /> <key id="KEY_REWIND" mapto="prevBouquet" flags="m" /> --> <device name="HDMU RC IPBOX"> <key id="KEY_BOOKMARKS" mapto="prevBouquet" flags="m" /> <key id="KEY_MEDIA" mapto="nextBouquet" flags="m" /> </device> <device name="HDMU RC SPARK"> <key id="KEY_LEFT" mapto="prevBouquet" flags="m" /> <key id="KEY_RIGHT" mapto="nextBouquet" flags="m" /> </device> </map>
Wenn Du eine Lösung für die Portal-Taste hast, das wäre fein. Hat sich erledig!Code:'openHDMUMediaCenter': (self._bmc, _('open HDMU Media Center')), 'openMediaPortal': (self._openMediaPortal, _('open MediaPortal')), 'openDreamPlex': (self._openDreamPlex, _('open DreamPlex')), 'sleepTimer': (self.sleepTimer, 'Sleeptimer'), 'timer': (self.timer, 'Timer'), 'showSatellites': (self.showSatellites, _('Satellite list')), 'showFavourites': (self.showFavourites, _(' Open favourites list'))}) def _bmc(self): from Plugins.Extensions.BMediaCenter.plugin import HDMUMC_MainMenu self.session.open(HDMUMC_MainMenu) def _openDreamPlex(self): from Plugins.Extensions.DreamPlex.plugin import DPS_MainMenu self.session.open(DPS_MainMenu) def _openMediaPortal(self): if config.mediaportal.ansicht.value == 'liste': from Plugins.Extensions.MediaPortal.plugin import haupt_Screen self.session.open(haupt_Screen) else: from Plugins.Extensions.MediaPortal.plugin import haupt_Screen_Wall self.session.open(haupt_Screen_Wall, config.mediaportal.filter.value) def sleepTimer(self): from Screens.SleepTimerEdit import SleepTimerEdit self.session.open(SleepTimerEdit) def timer(self): from Screens.TimerEdit import TimerEditList self.session.open(TimerEditList) def showSatellites(self): self.servicelist.showSatellites() self.session.execDialog(self.servicelist) def showTvChannelList(self, zap = False): :
MfG
edith sagt:
Zeile 237 in der keymap ist auskommentiert, sonst funktioniert das nicht mit KEY_BLUE.
edith sagt:
Fehler in Zeile 145 entdeckt, muss natürlich zapUp sein.
Oma Edith sagt:
Gibt es kein Durchstreichen? Grün muss reichen.