summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/drumgizmoc.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index 1ba9516..48a17fd 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -408,6 +408,15 @@ int main(int argc, char* argv[])
{
break;
}
+
+ if(ie->isFreewheeling() && oe->isFreewheeling())
+ {
+ gizmo.setFreeWheel(true);
+ }
+ else
+ {
+ gizmo.setFreeWheel(false);
+ }
}
ie->stop();