X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/fce04ebed510a97e17f019a35c327dce78b6d916..c7239788f111d2a6a8ca3bb8b95b72579095bad4:/main/enigma.cpp diff --git a/main/enigma.cpp b/main/enigma.cpp index 96b4cef1..5a22110e 100644 --- a/main/enigma.cpp +++ b/main/enigma.cpp @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -46,13 +47,6 @@ void object_dump() static eWidgetDesktop *wdsk, *lcddsk; -PSignal1 keyPressed; - -PSignal1 &keyPressedSignal() -{ - return keyPressed; -} - static int prev_ascii_code; int getPrevAsciiCode() @@ -73,8 +67,6 @@ void keyEvent(const eRCKey &key) } else ptr->keyPressed(0, key.code, key.flags); - if (!key.flags) - keyPressed(key.code); } /************************************************/ @@ -200,7 +192,9 @@ int main(int argc, char **argv) printf("executing main\n"); bsodCatchSignals(); - + + setIoPrio(IOPRIO_CLASS_BE, 3); + python.execute("mytest", "__main__"); if (exit_code == 5) /* python crash */