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
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;
@@ -111,6 +114,8 @@ signals: · 22 unmodified lines
111114 void touchUpdateEvent(const TouchEvent& event);
112115
113116 void wheelEvent(const WheelEvent& event);
117+
118+ void actionEvent(int action, float state);
114119
115120 };
116121

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t