From e94cafd88ef44a50f226356a356e4318f45092f9 Mon Sep 17 00:00:00 2001
From: David Rowe
- * CycleCamera
number number Cycle the camera view from first person, to
* third person, to full screen mirror, then back to first person and repeat.
+ * ContextMenu
number number Show / hide the tablet.
* ContextMenu
number number Show/hide the tablet.
* ToggleMute
number number Toggle the microphone mute.
* TogglePushToTalk
number number Toggle push to talk.
diff --git a/libraries/controllers/src/controllers/ScriptingInterface.h b/libraries/controllers/src/controllers/ScriptingInterface.h
index 688b59e18c..84396fc8be 100644
--- a/libraries/controllers/src/controllers/ScriptingInterface.h
+++ b/libraries/controllers/src/controllers/ScriptingInterface.h
@@ -210,7 +210,7 @@ namespace controller {
/**jsdoc
* Triggers a haptic pulse on connected and enabled devices that have the capability.
* @function Controller.triggerHapticPulse
- * @param {number} strength - The strength of the haptic pulse, ToggleOverlay
number number Toggle the display of overlays. 0.0
– 1.0
.
+ * @param {number} strength - The strength of the haptic pulse, range 0.0
– 1.0
.
* @param {number} duration - The duration of the haptic pulse, in milliseconds.
* @param {Controller.Hand} [hand=2] - The hand or hands to trigger the haptic pulse on.
* @example 0.0
– 1.0
.
+ * @param {number} strength - The strength of the haptic pulse, range 0.0
– 1.0
.
* @param {Controller.Hand} [hand=2] - The hand or hands to trigger the haptic pulse on.
*/
Q_INVOKABLE bool triggerShortHapticPulse(float strength, controller::Hand hand = BOTH) const;
@@ -233,7 +233,7 @@ namespace controller {
* Triggers a haptic pulse on a particular device if connected and enabled and it has the capability.
* @function Controller.triggerHapticPulseOnDevice
* @param {number} deviceID - The ID of the device to trigger the haptic pulse on.
- * @param {number} strength - The strength of the haptic pulse, 0.0
– 1.0
.
+ * @param {number} strength - The strength of the haptic pulse, range 0.0
– 1.0
.
* @param {number} duration - The duration of the haptic pulse, in milliseconds.
* @param {Controller.Hand} [hand=2] - The hand or hands to trigger the haptic pulse on.
* @example 0.0
– 1.0
.
+ * @param {number} strength - The strength of the haptic pulse, range 0.0
– 1.0
.
* @param {Controller.Hand} [hand=2] - The hand or hands to trigger the haptic pulse on.
*/
Q_INVOKABLE bool triggerShortHapticPulseOnDevice(unsigned int device, float strength, controller::Hand hand = BOTH)
diff --git a/libraries/controllers/src/controllers/StandardController.cpp b/libraries/controllers/src/controllers/StandardController.cpp
index a7ae1aae98..ece10ecca3 100644
--- a/libraries/controllers/src/controllers/StandardController.cpp
+++ b/libraries/controllers/src/controllers/StandardController.cpp
@@ -33,8 +33,8 @@ void StandardController::focusOutEvent() {
* identifying each output. Read-only.
These outputs can be mapped to actions or functions in a {@link RouteObject} mapping. The data value provided by each
* control is either a number or a {@link Pose}. Numbers are typically normalized to 0.0
or 1.0
for
- * button states, the range 0.0 – 1.0
for unidirectional scales, and the range -1.0 – 1.0
- * for bidirectional scales.
0.0
– 1.0 for unidirectional scales, and the range
+ * -1.0
– 1.0
for bidirectional scales.
* Each hardware device has a mapping from its outputs to a subset of Controller.Standard
items, specified in a
* JSON file. For example,
* vive.json
diff --git a/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h b/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h
index b51f484f7d..f0a823a3de 100644
--- a/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h
+++ b/libraries/controllers/src/controllers/impl/MappingBuilderProxy.h
@@ -84,12 +84,12 @@ class UserInputMapper;
/**jsdoc
* A route in a {@link Controller.MappingJSON}.
* @typedef {object} Controller.MappingJSONRoute
- * @property {string|Controller.MappingJSONAxis} from - The name of a {@link Controller.Hardware} property name or an axis
- * made from them. If a property name, the leading "Controller.Hardware."
can be omitted.
- * @property {boolean} [peek=false] - If true
then debug is enabled per {@link RouteObject#debug}.
+ * @property {string|Controller.MappingJSONAxis} from - The name of a {@link Controller.Hardware} property or an axis made from
+ * them. If a property name, the leading "Controller.Hardware."
can be omitted.
+ * @property {boolean} [peek=false] - If true
, then debug is enabled per {@link RouteObject#debug}.
* @property {string|string[]} [when=[]] - One or more numeric {@link Controller.Hardware} property names which are evaluated
- * as booleans and ANDed together. Prepend with a !
to use the logical NOT of the property value. The leading
+ * as booleans and ANDed together. Prepend a property name with a !
to do a logical NOT. The leading
* "Controller.Hardware."
can be omitted from the property names.
* @property {Controller.MappingJSONFilter|Controller.MappingJSONFilter[]} [filters=[]] - One or more filters in the route.
* @property {string} to - The name of a {@link Controller.Actions} or {@link Controller.Standard} property. The leading
diff --git a/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp b/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp
index 78dd14868c..0a6c76e456 100755
--- a/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp
+++ b/libraries/input-plugins/src/input-plugins/KeyboardMouseDevice.cpp
@@ -270,7 +270,7 @@ controller::Input KeyboardMouseDevice::InputDevice::makeInput(KeyboardMouseDevic
* new x-coordinate value.
*
- * MouseY
number number The mouse y-coordinate changed. The data value is its
* new y-coordinate value. MouseWheelRight
number number The mouse wheel rotated left. The data value
+ *
* MouseWheelRight
number number The mouse wheel rotated right. The data value
* is the number of units rotated (typically 1.0
).MouseWheelLeft
number number The mouse wheel rotated left. The data value
* is the number of units rotated (typically 1.0
).