Commit d079d025 authored by Thiago Santini's avatar Thiago Santini

Adds extra recording toggle key and todo

parent ccbf1d5e
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
#include <QDebug> #include <QDebug>
// TODO: make these keys configurable
void CommandManager::keyPress(QKeyEvent *event) void CommandManager::keyPress(QKeyEvent *event)
{ {
if (event->isAutoRepeat()) if (event->isAutoRepeat())
...@@ -16,6 +18,7 @@ void CommandManager::keyPress(QKeyEvent *event) ...@@ -16,6 +18,7 @@ void CommandManager::keyPress(QKeyEvent *event)
emit toggleCalibration(); emit toggleCalibration();
break; break;
case Qt::Key_R: case Qt::Key_R:
case Qt::Key_B:
emit toggleRecording(); emit toggleRecording();
break; break;
case Qt::Key_F: case Qt::Key_F:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment