Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1691

testing all RC buttons + executing my own code + forwarding RC code back to Enigma

$
0
0

Hi all.

I have a question about the Python code, specifically using the Screens.Screen module defined as a sub-class.

Is there any way to test all the buttons from the remote control ? And when I press any key to execute my desired event (hide picture) and then put the original code further into Enigma ?

The problem is also with the display of the warning icon for undesired remote control buttons (not defined for ActionMap). The crossover icon is displayed in the top left corner of the screen. I do not want to see any icon in this case.

I have my picture displayed on the TV screen. After pressing any button, I need to hide (close) + immediately the original action of the button (send button to Enigma). This is because the user does not have to press the button up to two times, but only one time - of course, my picture will be automatically hidden.

One way to detect all buttons on the remote control I found - system:

eActionMap.getInstance().bindAction('', maxint, self.anyKeyPressed)
However, I did not get the "InfoBarGenerics.py" code to see the icon of the undesired button in the top left corner, and to push the button code further into the Enigma (for example, as a session code return code).

Does anyone know any solutions to the problem?

 

Thanks for all the tips, hints, suggestions.

 


Viewing all articles
Browse latest Browse all 1691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>