diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-01-27 06:25:40 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-01-27 06:25:40 +0000 |
| commit | 84670d3dc9c9dc29fd3af42b2f25092b3b6c2a09 (patch) | |
| tree | 2b6dd112784a6958665dcd54aeaa42ef9ea94472 /lib/python/enigma_python.i | |
| parent | f9723e7fbf7669f063151eaf53bb1ee9f4189289 (diff) | |
| download | enigma2-84670d3dc9c9dc29fd3af42b2f25092b3b6c2a09.tar.gz enigma2-84670d3dc9c9dc29fd3af42b2f25092b3b6c2a09.zip | |
- add rcconsole key input (for now)
- very basic method of delivering keys into python (will be changed, of course)
Diffstat (limited to 'lib/python/enigma_python.i')
| -rw-r--r-- | lib/python/enigma_python.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index c621bb62..367d8f8e 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -53,6 +53,8 @@ is usually caused by not marking PSignals as immutable. #include <lib/python/connections.h> extern void runMainloop(); + +extern PSignal1<void,int> &keyPressedSignal(); %} #define DEBUG @@ -127,3 +129,5 @@ public: /************** debug **************/ void runMainloop(); +%immutable keyPressed; +PSignal1<void,int> &keyPressedSignal(); |
