History

Merge pull request #5167 from SamGondelman/hmdControls

hmdControls.js for movement when wearing an HMD

Ryan Huffman committed 11 years ago

Commit 4df1bea2 parents 584ecf7 a0d4b7e14 files · +350 −43Browse files

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

Unified · Split

libraries/script-engine/src/AbstractControllerScriptingInterface.h+5−0
@@ -83,6 +83,9 @@ public slots: · 82 unmodified lines
8383
8484 virtual void captureWheelEvents() = 0;
8585 virtual void releaseWheelEvents() = 0;
86+
87+ virtual void captureActionEvents() = 0;
88+ virtual void releaseActionEvents() = 0;
8689
8790 virtual void captureJoystick(int joystickIndex) = 0;
8891 virtual void releaseJoystick(int joystickIndex) = 0;
@@ -112,6 +115,8 @@ signals: · 23 unmodified lines
112115 void touchUpdateEvent(const TouchEvent& event);
113116
114117 void wheelEvent(const WheelEvent& event);
118+
119+ void actionEvent(int action, float state);
115120
116121 };
117122