History

controller with menus finally work

Dante Ruiz committed 9 years ago

Commit baff07b1 parent 9a61b607 files · +117 −22Browse files

Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all

Unified · Split

interface/src/Application.cpp+2−0
@@ -1033,12 +1033,14 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 1032 unmodified lines
10331033 if (key != Qt::Key_unknown) {
10341034 QKeyEvent event(QEvent::KeyPress, key, Qt::NoModifier);
10351035 sendEvent(window, &event);
1036+ tabletScriptingInterface->processEvent(&event);
10361037 lastKey = key;
10371038 }
10381039 } else if (key != Qt::Key_unknown && window) {
10391040 if (state) {
10401041 QKeyEvent event(QEvent::KeyPress, key, Qt::NoModifier);
10411042 sendEvent(window, &event);
1043+ tabletScriptingInterface->processEvent(&event);
10421044 } else {
10431045 QKeyEvent event(QEvent::KeyRelease, key, Qt::NoModifier);
10441046 sendEvent(window, &event);