History

rename HFCancelEvent to HFBackEvent, fire from joystick

Stephen Birarda committed 12 years ago

Commit 8a9f2d11 parent 04e7e975 files · +33 −20Browse files

Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+3−3
@@ -10,7 +10,7 @@ · 9 unmodified lines
1010 //
1111
1212 #include <HandData.h>
13−#include <HFCancelEvent.h>
13+#include <HFBackEvent.h>
1414
1515 #include "Application.h"
1616 #include "devices/MotionTracker.h"
@@ -31,9 +31,9 @@ void ControllerScriptingInterface::handleMetaEvent(HFMetaEvent* event) { · 14 unmodified lines
3131 emit actionStartEvent(static_cast<HFActionEvent&>(*event));
3232 } else if (event->type() == HFActionEvent::endType()) {
3333 emit actionEndEvent(static_cast<HFActionEvent&>(*event));
34− } else if (event->type() == HFCancelEvent::startType()) {
34+ } else if (event->type() == HFBackEvent::startType()) {
3535 emit cancelStartEvent();
36− } else if (event->type() == HFCancelEvent::endType()) {
36+ } else if (event->type() == HFBackEvent::endType()) {
3737 emit cancelEndEvent();
3838 }
3939 }