History

actionEvent signal, captureActions, began work on hmdControls.js

Sam Gondelman committed 11 years ago

Commit f7525341 parent a37b0896 files · +119 −11Browse files

Showing the changes to libraries/script-engine/src/AbstractControllerScriptingInterface.h (1 of 6 files). Show all

Unified · Split

libraries/script-engine/src/AbstractControllerScriptingInterface.h+5−0
@@ -83,6 +83,9 @@ public slots: · 82 unmodified lines
83 83
84 virtual void captureWheelEvents() = 0;84 virtual void captureWheelEvents() = 0;
85 virtual void releaseWheelEvents() = 0;85 virtual void releaseWheelEvents() = 0;
86
87 virtual void captureActionEvents() = 0;
88 virtual void releaseActionEvents() = 0;
86 89
87 virtual void captureJoystick(int joystickIndex) = 0;90 virtual void captureJoystick(int joystickIndex) = 0;
88 virtual void releaseJoystick(int joystickIndex) = 0;91 virtual void releaseJoystick(int joystickIndex) = 0;
@@ -111,6 +114,8 @@ signals: · 22 unmodified lines
111 void touchUpdateEvent(const TouchEvent& event);114 void touchUpdateEvent(const TouchEvent& event);
112 115
113 void wheelEvent(const WheelEvent& event);116 void wheelEvent(const WheelEvent& event);
117
118 void actionEvent(int action, float state);
114 119
115};120};
116 121