diff options
| -rw-r--r-- | lib/python/enigma_python.i | 3 | ||||
| -rw-r--r-- | main/enigma.cpp | 9 | ||||
| -rw-r--r-- | mytest.py | 5 |
3 files changed, 0 insertions, 17 deletions
diff --git a/lib/python/enigma_python.i b/lib/python/enigma_python.i index 06d84473..8582de86 100644 --- a/lib/python/enigma_python.i +++ b/lib/python/enigma_python.i @@ -93,7 +93,6 @@ extern void runMainloop(); extern void quitMainloop(int exit_code); extern eApplication *getApplication(); -extern PSignal1<void,int> &keyPressedSignal(); extern int getPrevAsciiCode(); %} @@ -259,8 +258,6 @@ int getPrevAsciiCode(); void runMainloop(); void quitMainloop(int exit_code); eApplication *getApplication(); -%immutable keyPressed; -PSignal1<void,int> &keyPressedSignal(); %{ RESULT SwigFromPython(ePtr<gPixmap> &result, PyObject *obj) diff --git a/main/enigma.cpp b/main/enigma.cpp index 96b4cef1..0600062b 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -46,13 +46,6 @@ void object_dump() static eWidgetDesktop *wdsk, *lcddsk; -PSignal1<void,int> keyPressed; - -PSignal1<void,int> &keyPressedSignal() -{ - return keyPressed; -} - static int prev_ascii_code; int getPrevAsciiCode() @@ -73,8 +66,6 @@ void keyEvent(const eRCKey &key) } else ptr->keyPressed(0, key.code, key.flags); - if (!key.flags) - keyPressed(key.code); } /************************************************/ @@ -268,9 +268,6 @@ class Session: self.execBegin() return dlg - def keyEvent(self, code): - print "code " + str(code) - def close(self, screen, *retval): if not self.in_exec: print "close after exec!" @@ -435,8 +432,6 @@ def runScreenTest(): runNextScreen(session, screensToRun) - CONNECT(keyPressedSignal(), session.keyEvent) - vol = VolumeControl(session) power = PowerKey(session) |
