summaryrefslogtreecommitdiffhomepage
path: root/opentrack/work.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-29 12:25:27 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-29 12:25:27 +0100
commite7d57ba055627e6b6c8f6de61a497894e0caa658 (patch)
tree1ffe7924840380d3404e2a80d31623428925f5ec /opentrack/work.hpp
parent8a87e1a658f04eaffa10da30f019a64902f8d917 (diff)
implement zero shortcut
Diffstat (limited to 'opentrack/work.hpp')
-rw-r--r--opentrack/work.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/work.hpp b/opentrack/work.hpp
index 9a9889a7..b93c71b6 100644
--- a/opentrack/work.hpp
+++ b/opentrack/work.hpp
@@ -26,9 +26,11 @@ struct Work
#ifndef _WIN32
QObject::connect(sc->keyCenter.get(), SIGNAL(activated()), recv, SLOT(shortcutRecentered()));
QObject::connect(sc->keyToggle.get(), SIGNAL(activated()), recv, SLOT(shortcutToggled()));
+ QObject::connect(sc->keyZero.get(), SIGNAL(activated()), recv, SLOT(shortcutZeroed()));
#else
QObject::connect(sc.get(), SIGNAL(center()), recv, SLOT(shortcutRecentered()));
QObject::connect(sc.get(), SIGNAL(toggle()), recv, SLOT(shortcutToggled()));
+ QObject::connect(sc.get(), SIGNAL(zero()), recv, SLOT(shortcutZeroed()));
#endif
tracker->start();
}