Remote Control Style Enigma default Fernbedienung-Style

Alles rund um das grafische Benutzerinterface Enigma
mrvica
Einsteiger
Einsteiger
Beiträge: 342
Registriert: Freitag 24. September 2004, 11:48

Remote Control Style Enigma default Fernbedienung-Style

Beitrag von mrvica »

benutze zwar Neutrino Style, was mich aber beim Enigma Style immer gestört hat (und viele anderen Leute auch), wenn man mit rauf/runter die Senderliste einblendet, scrollt die Selektion dementsprächend rauf/runter, bleibt nicht beim aktuellen Sender stehen, genauso in Filelisten, ziemlich nervig, war das so gewollt, erkenne den Sinn nicht, mit einer kleinen Änderung in enigma_main.cpp bekommt man es weg:

Code: Alles auswählen

....................................
....................................
....................................
#ifndef DISABLE_FILE
			if ( eDVB::getInstance()->recorder || handleState() )
#else
			if ( handleState() )
#endif
				playlistPrevService();
		}
		else if (event.action == &i_enigmaMainActions->serviceListDown)
			/* showServiceSelector(eServiceSelector::dirDown); */
			showServiceSelector(eServiceSelector::dirNo);
		else if (event.action == &i_enigmaMainActions->serviceListUp)
			/* showServiceSelector(eServiceSelector::dirUp); */
			showServiceSelector(eServiceSelector::dirNo);
		else if (event.action == &i_enigmaMainActions->volumeUp)
			volumeUp();
		else if (event.action == &i_enigmaMainActions->volumeDown)
			volumeDown();
		else if (event.action == &i_enigmaMainActions->toggleMute)
			toggleMute();
.............................................
.............................................
.............................................

mrvica
mrvica
Einsteiger
Einsteiger
Beiträge: 342
Registriert: Freitag 24. September 2004, 11:48

Re: Remote Control Style Enigma default Fernbedienung-Style

Beitrag von mrvica »

da nun beide Tasten rauf/runter die Senderliste einblenden, habe ich es etwas abgeändert, runter blendet jetzt eigene Bouquets ein, was mir in Enigma immer gefehlt hat, es stehen nur zwei FB Sytels zur Auswahl, ich habe in meiner rcdbox_inputdev.xml (dbox2) insgesamt 5 Styles, ein Enigma und 4 Neutrino, in rcdbox....xml folgendes einfügen

Code: Alles auswählen

--------------------------------
--------------------------------
--------------------------------
		<actionmap name="focus">
----------------------------------------
----------------------------------------
			<action name="right" key="right" flags="mr" />
		</actionmap>

		<actionmap name="list" style="default">
			<action name="pagedown" key="right" flags="m" />
			<action name="pageup" key="left" flags="m" />
		</actionmap>

		<actionmap name="list" style="classic">
			<action name="pagedown" key="right" flags="m" />
			<action name="pageup" key="left" flags="m" />
		</actionmap>

		<actionmap name="list" style="classic2">
			<action name="pagedown" key="right" flags="m" />
			<action name="pageup" key="left" flags="m" />
		</actionmap>

		<actionmap name="list" style="classic3">
			<action name="pagedown" key="+" flags="m" />
			<action name="pageup" key="-" flags="m" />
		</actionmap>

		<actionmap name="list" style="classic4">
			<action name="pagedown" key="+" flags="m" />
			<action name="pageup" key="-" flags="m" />
		</actionmap>


und weiter runter

Code: Alles auswählen

	<actionmap name="enigmaMain">
------------------------------------------
------------------------------------------
			<action name="prevSubService" key="left" flags="m" />
	</actionmap>

		<actionmap name="enigmaMain" style="default" descr="Default (Enigma)" >
			<action name="nextService" key="right" flags="m" />
			<action name="prevService" key="left" flags="m" />
			<action name="showInfobar" key="ok" flags="m" />
			<action name="hideInfobar" key="ok" flags="m" />
			<!-- action name="serviceListDown" key="down" flags="m" / -->
			<action name="serviceListUp" key="up" flags="m" />
			<action name="showUserBouquets" key="down" flags="m" />
			<action name="showEPG" key="?" flags="m" />
		</actionmap>

		<actionmap name="enigmaMain" style="classic" descr="Classic (Neutrino)" >
			<action name="hideInfobar" key="home" flags="m" />
			<action name="nextService" key="up" flags="m" />
			<action name="prevService" key="down" flags="m" />
			<action name="showInfobar" key="?" flags="m" />
			<action name="showInfobarEPG" key="?" flags="m" />
			<action name="showServiceSelector" key="ok" flags="m" />
		</actionmap>

		<actionmap name="enigmaMain" style="classic2" descr="Classic2 (Neutrino)" >
			<action name="hideInfobar" key="home" flags="m" />
			<action name="nextService" key="down" flags="m" />
			<action name="prevService" key="up" flags="m" />
			<action name="showInfobar" key="?" flags="m" />
			<action name="showInfobarEPG" key="?" flags="m" />
			<action name="showServiceSelector" key="ok" flags="m" />
		</actionmap>

		<actionmap name="enigmaMain" style="classic3" descr="Classic3 (Neutrino)" >
			<action name="hideInfobar" key="home" flags="m" />
			<action name="nextService" key="up" flags="m" />
			<action name="prevService" key="down" flags="m" />
			<action name="showInfobar" key="?" flags="m" />
			<action name="showInfobarEPG" key="?" flags="m" />
			<action name="showServiceSelector" key="ok" flags="m" />
		</actionmap>

		<actionmap name="enigmaMain" style="classic4" descr="Classic4 (Neutrino)" >
			<action name="hideInfobar" key="home" flags="m" />
			<action name="nextService" key="down" flags="m" />
			<action name="prevService" key="up" flags="m" />
			<action name="showInfobar" key="?" flags="m" />
			<action name="showInfobarEPG" key="?" flags="m" />
			<action name="showServiceSelector" key="ok" flags="m" />
		</actionmap>

		<actionmap name="enigmaGlobal">
-----------------------------------------------------
-----------------------------------------------------
-----------------------------------------------------

		<actionmap name="epgSelector">
---------------------------------------------------
---------------------------------------------------
			<action name="searchEPG" key="d-box" flags="m" />
		</actionmap>

		<actionmap name="serviceSelector" style="default" descr="Default (Enigma)" >
			<action name="nextBouquet" key="+" flags="m" />
			<action name="prevBouquet" key="-" flags="m" />
			<action name="pathUp" key="0" flags="m" />
		</actionmap>

		<actionmap name="serviceSelector" style="classic" descr="Classic (Neutrino)" > 
			<action name="nextBouquet" key="+" flags="m" />
			<action name="prevBouquet" key="-" flags="m" />
			<action name="pathUp" key="0" flags="m" />
		</actionmap>

		<actionmap name="serviceSelector" style="classic2" descr="Classic2 (Neutrino)" >
			<action name="nextBouquet" key="+" flags="m" />
			<action name="prevBouquet" key="-" flags="m" />
			<action name="pathUp" key="0" flags="m" />
		</actionmap>

		<actionmap name="serviceSelector" style="classic3" descr="Classic3 (Neutrino)" > 
			<action name="nextBouquet" key="right" flags="m" />
			<action name="prevBouquet" key="left" flags="m" />
			<action name="pathUp" key="0" flags="m" />
		</actionmap>

		<actionmap name="serviceSelector" style="classic4" descr="Classic4 (Neutrino)" >
			<action name="nextBouquet" key="right" flags="m" />
			<action name="prevBouquet" key="left" flags="m" />
			<action name="pathUp" key="0" flags="m" />
		</actionmap>
	            
<actionmap name="serviceSelector" style="sselect_default">
--------------------------------------------------

mrvica