vadim7272
1)здесь пример кода для твоего плагина.
2)
1)здесь пример кода для твоего плагина.
2)
Код: [Выделить]
<map context="InfobarSeekActions">
<device name="dreambox advanced remote control (native)">
<key id="KEY_PREVIOUSSONG" mapto="seekBack" flags="b"/>
<key id="KEY_NEXTSONG" mapto="seekFwd" flags="b"/>
<key id="KEY_PREVIOUSSONG" mapto="seekBackManual" flags="l"/>
<key id="KEY_NEXTSONG" mapto="seekFwdManual" flags="l"/>
</device>
<device name="dreambox remote control (native)">
<key id="KEY_YELLOW" mapto="pauseService" flags="b"/>
<key id="KEY_GREEN" mapto="unPauseService" flags="b"/>
<key id="KEY_RED" mapto="seekBack" flags="b"/>
<key id="KEY_BLUE" mapto="seekFwd" flags="b"/>
<key id="KEY_RED" mapto="seekBackManual" flags="l"/>
<key id="KEY_BLUE" mapto="seekFwdManual" flags="l"/>
</device>
<key id="KEY_PLAYPAUSE" mapto="playpauseService" flags="m"/>
<key id="KEY_PAUSE" mapto="pauseService" flags="m"/>
<key id="KEY_PLAY" mapto="unPauseService" flags="m"/>
<key id="KEY_REWIND" mapto="seekBack" flags="b"/>
<key id="KEY_FASTFORWARD" mapto="seekFwd" flags="b"/>
<key id="KEY_REWIND" mapto="seekBackManual" flags="l"/>
<key id="KEY_FASTFORWARD" mapto="seekFwdManual" flags="l"/>
<key id="KEY_LEFT" mapto="seekBack" flags="m"/>
<key id="KEY_RIGHT" mapto="seekFwd" flags="m"/>
<key id="KEY_OK" mapto="unPauseService" flags="m"/>
<key id="KEY_1" mapto="seekdef:1" flags="m"/>
<key id="KEY_3" mapto="seekdef:3" flags="m"/>
<key id="KEY_4" mapto="seekdef:4" flags="m"/>
<key id="KEY_6" mapto="seekdef:6" flags="m"/>
<key id="KEY_7" mapto="seekdef:7" flags="m"/>
<key id="KEY_9" mapto="seekdef:9" flags="m"/>
</map>